On 6/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello
It looks like there's a problem on WinCE operating system with the
utf8ToUnicode() / unicodeToUtf8() conversion functions. No database
can be opened by sqlite3_open() because thehes functions fail.
Please have a look what happens there (location: os_win.c :)
[...]
If I use the CP_ACP flag, everthing works ok:
nChar = MultiByteToWideChar(CP_ACP, 0, zFilename, -1, NULL, 0);
Same failure probably in unicodeToUtf8() because it uses
"WideCharToMultiByte(CP_UTF8, 0, zWideFilename, -1, 0, 0, 0, 0);"
My question:
Is this a bug or is something wrong with my WinCE-Image?
It probably means your WinCE OS image doesn't have UTF-8 support
built-in, so you either have to make your own character set
conversions or rebuild the OS image with that support (if you can
change the image, that is).
Regards,
~Nuno Lucas
Version information
SQLite 3.3.17 (also tried 3.3.13 and failed)
WinCE 5.0
Regards
Daniel
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------