Is this a bug? BOM decoded with UTF8

Diez B. Roggisch deetsNOSPAM at web.de
Fri Feb 11 08:12:15 EST 2005


> I know its easy (string.replace()) but why does UTF-16 do
> it on its own then? Is that according to Unicode standard or just
> Python convention?

BOM is microsoft-proprietary crap. UTF-16 is defined in the unicode
standard.
-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list