See if these routines and examples help you...

http://www.codeproject.com/KB/string/utfConvert.aspx





Michael D. Black

Senior Scientist

Advanced Analytics Directorate

Advanced GEOINT Solutions Operating Unit

Northrop Grumman Information Systems

________________________________
From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
behalf of Sireesha Jakku [sireesha_ja...@persistent.co.in]
Sent: Wednesday, November 09, 2011 6:02 AM
To: General Discussion of SQLite Database
Subject: EXT :Re: [sqlite] sqlite3_open() failed with file name 
containsjapanesecharacters

Hi Simon,

That's what I am puzzled about.

I am using C++ in my test program and the file name is in CString which is in 
Unicode - I am not sure whether it is UTF-16.
I tried changing it from Unicode to CP_ACP (which changes to multi byte 
character in current code page) and passed that value to sqlite3_open ().

Regards,
Sireesha J

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to