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 to have the correct characters. It shows awkward
characters in the output of the dir command output and of Windows explorer.

The sqlite3.exe is current, the Windows version is a German version of 10.


Am 07.02.2016 um 20:15 schrieb Simon Slavin:
> On 7 Feb 2016, at 7:09pm, Holger Jakobs <holger at jakobs.com> 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
>> handles the file name correctly.
> Some effort has gone into handling the name correctly.  While it's not 
> impossible that there are bugs in it, there are no known problems.
>
> Which routine are you using to open the file ?  There are three:
>
> int sqlite3_open();
> int sqlite3_open16();
> int sqlite3_open_v2();
>
> What type of string are you passing as the filename ?  Have you checked that 
> the string is UTF-8 or UTF-16 ?  How ?
>
> Simon.
> _______________________________________________
> sqlite-users mailing list
> sqlite-users at mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

-- 

Holger Jakobs, IT Beratung und Schulung
M?lheimer Stra?e 133, 51469 Bergisch Gladbach
+49 178 9759012 <tel:+491789759012> http://plausibolo.de
USt-Id: DE288331926

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: 
<http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-users/attachments/20160207/3ae1dca2/attachment.pgp>

Reply via email to