----- Original Message ----- From: "John Crenshaw" <johncrens...@priacta.com> To: "General Discussion of SQLite Database" <sqlite-users@sqlite.org> Sent: Thursday, October 29, 2009 10:55 PM Subject: Re: [sqlite] Some clarification needed about Unicode
>No, I mean which encoding. You can't give a UTF-16 string to an API that >only knows how to handle UCS-2 encoded data, just like you can't use a >UTF-8 >string when ASCII data is expected. When I tackle this nightmare the last >time I was left with the understanding that the wide Win32 APIs expected >data to be UCS-2 encoded. Now I'm no longer sure, and I can't find any >reliable documentation on this either way. It would be good if the APIs >accept UTF-16, because that would mean they also accept UCS-2, but I >couldn't find anything reliable to support this idea. Some folks say yes. >Some say no. The documentation says nothing. John: Perhaps this page do some clarification on the point. Anyway, the only clear is that the matter is not absolutely clear. Of course that is a big consolation those us who feel lost the first time who went to this oddity matter of the internationalization. http://codesnipers.com/?q=utf-8-versus-windows-unicode The author asset that .NET is the only platform that offer full UTF-16 support in the Windows API. A.J.Millan. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users