> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 13, 2005 4:16 AM
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] 3.2.7 and russian characters
> 
> Slavomir Svetlik <[EMAIL PROTECTED]> wrote:
> > >   Why 3.2.7 version can not open database with path that contains
> > >   russian characters?
> > >
> > > Best regards  Sergey Startsev
> > 
> > I can not open database with sqlite.dll v. 3.2.7 which 
> contains slovak
> > characters too. For example with 3.2.2 this is no problem.
> > 
> 
> The sqlite3_open() routine is suppose to accept the filename
> as UTF-8.  There was a bug in earlier versions of SQLite that
> allowed ISO-8859-? names to be used.  That bug was fixed.  Probably
> your program is depending on the old (broken) behavior.

If he is on Windows 9x, the bug lives on.  The problem stems from the fact
that the non-UNICODE code path in os_win.c is still taking a UTF-8 string
and the various xxxxA() functions in Windows require a MBCS string.

I posted a solution on the mailing list, but perhaps it was missed.

Robert


Reply via email to