Re: [firebird-support] embedded database with Chinese path

2017-10-05 Thread Richard Damon rich...@damon-family.org [firebird-support]
On 10/4/17 11:53 PM, Hamish Moffatt ham...@risingsoftware.com [firebird-support] wrote: > > On 04/10/17 22:15, DougC d...@moosemail.net [firebird-support] wrote: >> Hamish- >> >> Windows short path names are decidedly NOT for apps that cannot >> handle Unicode. They were introduced far earlier

Re: [firebird-support] embedded database with Chinese path

2017-10-05 Thread Helen Borrie hele...@iinet.net.au [firebird-support]
Hello Hamish, Thursday, October 5, 2017, 4:53:24 PM, you wrote: [...] all that Have you considered trying a symbolic link? https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/

Re: [firebird-support] embedded database with Chinese path

2017-10-04 Thread Hamish Moffatt ham...@risingsoftware.com [firebird-support]
On 04/10/17 22:15, DougC d...@moosemail.net [firebird-support] wrote: Hamish- Windows short path names are decidedly NOT for apps that cannot handle Unicode. They were introduced far earlier than that and were intended for programs that could not handle anything but the short 8.3 limits for

Re: [firebird-support] embedded database with Chinese path

2017-10-04 Thread Richard Damon rich...@damon-family.org [firebird-support]
Short File names are to allow apps that can't support long file names (LFN) to access a file. Long filename support includes wchar encoding. If Firebird can't support  wchar filenames, then it should NOT convert a short filename to its LFN equivalent (unless there is some other very important

Re: [firebird-support] embedded database with Chinese path

2017-10-04 Thread DougC d...@moosemail.net [firebird-support]
Hamish- Windows short path names are decidedly NOT for apps that cannot handle Unicode. They were introduced far earlier than that and were intended for programs that could not handle anything but the short 8.3 limits for any given file or folder name. That they often help with avoiding

Re: [firebird-support] embedded database with Chinese path

2017-10-03 Thread Hamish Moffatt ham...@risingsoftware.com [firebird-support]
On 03/10/17 19:59, Dimitry Sibiryakov s...@ibphoenix.com [firebird-support] wrote: > 03.10.2017 2:25, Hamish Moffatt ham...@risingsoftware.com [firebird-support] > wrote: >> Any ideas? > Give up. Firebird does not support unicode characters in database name > and path. Only ANSI. > >

Re: [firebird-support] embedded database with Chinese path

2017-10-03 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
03.10.2017 11:05, Kjell Rilbe kjell.ri...@marknadsinformation.se [firebird-support] wrote: > Forgive me for butting in, but... Perhaps it's high time to change FB > then? Unicode is "everywhere" these days, and FB should keep up. It is a lot of work, so the path

Re: [firebird-support] embedded database with Chinese path

2017-10-03 Thread Kjell Rilbe kjell.ri...@marknadsinformation.se [firebird-support]
Dimitry Sibiryakov s...@ibphoenix.com [firebird-support] skrev: > 03.10.2017 2:25, Hamish Moffatt ham...@risingsoftware.com [firebird-support] > wrote: >> Any ideas? > Give up. Firebird does not support unicode characters in database name > and path. Only ANSI. Forgive me for butting in,

Re: [firebird-support] embedded database with Chinese path

2017-10-03 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
03.10.2017 2:25, Hamish Moffatt ham...@risingsoftware.com [firebird-support] wrote: > Any ideas? Give up. Firebird does not support unicode characters in database name and path. Only ANSI. -- WBR, SD.

Re: [firebird-support] embedded database with Chinese path

2017-10-03 Thread Hamish Moffatt ham...@risingsoftware.com [firebird-support]
On 03/10/17 18:20, Hamish Moffatt ham...@risingsoftware.com [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

Re: [firebird-support] embedded database with Chinese path

2017-10-03 Thread Hamish Moffatt ham...@risingsoftware.com [firebird-support]
On 03/10/17 11:25, Hamish Moffatt ham...@risingsoftware.com [firebird-support] wrote: I'm trying to connect to a database with a filename containing Chinese characters. I tried passing a UTF-8 encoded filename, with the isc_dpb_utf8_filename flag set. However, this is failing with a

[firebird-support] embedded database with Chinese path

2017-10-02 Thread Hamish Moffatt ham...@risingsoftware.com [firebird-support]
I'm trying to connect to a database with a filename containing Chinese characters. The full path to my file is: C:\Users\汉密斯\AppData\Local\Rising Software\data5cloud\rising5.fdb I'm not able to connect to this filename - I'm always told that the path name is wrong. I've tried using the full