Skip to content

Win32 - Can't connect database placed in a directory with Japanese characters [CORE2172] #2603

Open
@firebird-automations

Description

@firebird-automations

Submitted by: James Ang (jang)

Duplicates CORE316
Is duplicated by CORE3172
Relate to CORE4993

Votes: 5

The Firebird FDB is placed in this folder:
C:\日本語フォルダ\Data\

Hence the full path to the FDB is:
C:\日本語フォルダ\Data\FIREBIRDSUPERSERVERALIAS.FDB

Calls to isc_attach_database() will fail with something like "Unspecified database name".

I reproduced this issue on my development environment (Windows XP Professional SP3 (US English locale)), but the problem was found while testing on a Japanese OS.

I can also reproduce the problem with an FDB named: 日本語フォルダ.FDB placed in C:\
C:\日本語フォルダ.FDB

It was very easy to reproduce the problem.

The workaround is to ensure that the full path to the FDB does not contain non-ASCII characters especially Unicode characters.

This problem was found in the versions of Firebird I tested (specified in this bug report else where).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions