Christian Heimes schrieb:
> David Wolever schrieb:
>> Is there some sort of text encoding detection module is the standard  
>> library?
>> And, if not, is there any reason not to add one?
> 
> You cannot detect the encoding unless it's explicitly defined through a
> header (e.g. the UTF BOM). It's technically impossible. The best you can
> do is an educated guess.

Exactly, and in light of that, I'm -1 for such a standard module.
We've enough issues with modules implementing (apparently) fully
specified standards. :)

Georg

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to