Subject | Re: [firebird-support] embedded database with Chinese path |
---|---|
Author | Hamish Moffatt |
Post date | 2017-10-03T07:56:25Z |
On 03/10/17 18:20, Hamish Moffatt
hamish@... [firebird-support] wrote:
But I can't figure out why the Windows short filename doesn't work - it seems Firebird is converting it back somewhere, and then failing on that?
isc_file.cpp converts the short filename back to a long filename.
So, it looks like a filename containing >8-bit characters is simply not going to work on Windows with Firebird. UTF-8 gets converted back to 8-bit ANSI, and short filenames get converted back to long filenames in an 8-bit string also.
I'm just trying to store a db in the user's home directory, which may contain Chinese characters if their login name does. Windows allows this.
Hamish