[Python-3000] content-based detection
"Martin v. Löwis"
martin at v.loewis.de
Sat Oct 14 18:47:39 CEST 2006
Antoine Pitrou schrieb:
> I doubt many people have to discriminate between UTF-16LE, UCS-4 and
> UTF-8. Are there real cases like that for text files?
Not sure what "that" is, in this question. There are certainly UTF-8
files. There are also UTF-16 files; they typically are LE, and often
have a BOM. I've never seen an UCS-4 file "in the wild" (except for
testing, of course).
Regards,
Martin
More information about the Python-3000
mailing list