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 _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com