[Python-ideas] Py3 unicode impositions

Chris Rebert pyideas at rebertia.com
Tue Feb 14 15:38:04 CET 2012


On Tue, Feb 14, 2012 at 2:37 AM, Christopher Reay
<christopherreay at gmail.com> wrote:
> Web browsers can parse pages with multiple encodings seemingly perfectly
> into the correct display characters. A quick copy and paste produces UTF-8
> encoded text in the clip board. (on linux)
>
> HOW DO THEY DO IT.. can we have their libraries? :)

The "chardet" package is in fact a port of Mozilla's encoding guessing code.

Cheers,
Chris



More information about the Python-ideas mailing list