hongdong wrote:
> I guess it is not a bug,but because SQLite treate Chinese ASCII as UTF-8,

The SQLite APIs are defined to take UTF-8 or UTF-16 *only*.  If you
provide a sequence of bytes that aren't UTF-8 to the UTF-8 API then they
will be treated as UTF-8.  There would be no way for SQLite to tell you
have done this.  (Technically it could check to see if any sequence of
bytes is invalid UTF-8 but that won't catch all cases.)

This would be a bug in whatever called SQLite.  It is worth pointing out
Joel's article on Unicode again:

  http://joelonsoftware.com/articles/Unicode.html

Roger

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to