[sqlite] problem on Windows using filenames with non-ASCII characters

2016-02-08 Thread Holger Jakobs
Betreff: Re: [sqlite] problem on Windows using filenames with non-ASCII characters On 7 Feb 2016, at 9:46pm, Holger Jakobs wrote: > Unfortunately, it doesn't help. > > see http://plausibolo.de/tmp/utf8_cmd.png > > Codepage ist 65001 (UTF-8), there alr

[sqlite] problem on Windows using filenames with non-ASCII characters

2016-02-07 Thread Teg
Hello Holger, The question is how does Sqlite.exe see the passed in filename? One thing you can do is use "procmon" and watch the filename of the file Sqlite.exe is trying to open. That'll probably give you a clue as to where the conversion is going wrong. This is what procmon told me: 11:30:46

[sqlite] problem on Windows using filenames with non-ASCII characters

2016-02-07 Thread Holger Jakobs
Unfortunately, it doesn't help. see http://plausibolo.de/tmp/utf8_cmd.png Codepage ist 65001 (UTF-8), there already was a db called 103_Beethovenstra?e_Stammdaten.etv; trying to open it creates a new one called 103_Beethovenstra?e_Stammdaten.etv Other programs (we use Tcl and Java) have no probl

[sqlite] problem on Windows using filenames with non-ASCII characters

2016-02-07 Thread Simon Slavin
On 7 Feb 2016, at 9:46pm, Holger Jakobs wrote: > Unfortunately, it doesn't help. > > see http://plausibolo.de/tmp/utf8_cmd.png > > Codepage ist 65001 (UTF-8), there already was a db called > 103_Beethovenstra?e_Stammdaten.etv; trying to open it creates a new one > called 103_Beethovenstra?e_St

[sqlite] problem on Windows using filenames with non-ASCII characters

2016-02-07 Thread Holger Jakobs
I'm using sqlite3.exe from the command line in a DOS window and pass the file name as a parameter. The dir command and the Windows explorer show the file name correctly. The db file itself was created by sqlite3 on Linux and copied over, but creating a new db file with sqlite3.exe on Windows fails

[sqlite] problem on Windows using filenames with non-ASCII characters

2016-02-07 Thread Holger Jakobs
Hello! When trying to open a db file with a name containing non-ASCII characters on Windows, I get an error that the file couldn't be found. Actually, the error message doesn't contain the character itself, because it gets changed by the sqlite3.exe program. The file name I tried contains the let

[sqlite] problem on Windows using filenames with non-ASCII characters

2016-02-07 Thread Simon Slavin
On 7 Feb 2016, at 7:39pm, Holger Jakobs wrote: > I'm using sqlite3.exe from the command line in a DOS window and pass the > file name as a parameter. I know little about Windows 10 but I suspect that you have a non-UTF code page set for command.exe. Could you check the configuration of the sh

[sqlite] problem on Windows using filenames with non-ASCII characters

2016-02-07 Thread Simon Slavin
On 7 Feb 2016, at 7:09pm, Holger Jakobs wrote: > The file name I tried contains the letter '?', but umlauts like ?? > cause the same trouble. > > On Linux everything is fine. Since other programs, like tclsh or wish > from the Tcl/Tk suite, have not problem, I wonder whether sqlite3.exe > h