On Wed, Nov 9, 2011 at 5:48 AM, Simon Slavin <slav...@bigfraud.org> wrote:
> > On 9 Nov 2011, at 10:17am, Sireesha Jakku wrote: > > > Thank you for your quick reply. > > I tried placing the same file in other location, where the file path > contains only 'english', it worked fine. > > Okay, good test. When you specify a foldername in non-Roman characters, > are you handling the string as UTF-16 ? You say you use > 'WideCharToMultiByte()' but I cannot tell from this whether it produces > text in UTF-16 or not. > If the filename is in UTF16, then you need to use sqlite3_open16(). If you are using sqlite3_open() or sqlite3_open_v2() then the filename must be in UTF. In no case is it acceptable to give a filename in MBCS. You must convert the filename to UTF8 or UTF16 before passing it to SQLite. > > Simon. > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users