Convertion of Unicode to ASCII NIGHTMARE

Roger Binns rogerb at rogerbinns.com
Thu Apr 6 00:23:03 EDT 2006


"Serge Orlov" <Serge.Orlov at gmail.com> wrote in message news:1144295335.353840.322190 at i40g2000cwc.googlegroups.com...
> I have an impression that handling/production of byte order marks is
> pretty clear: they are produced/consumed only by two codecs: utf-16 and
> utf-8-sig. What is not clear?

Are you talking about the C APIs in Python/SQLite (that is what I
have been discussing) or the language level?

At the C level, SQLite doesn't accept boms.  You have to
provide UTF-8 or host byte order two bytes per char
UTF-16.

Roger 





More information about the Python-list mailing list