This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients belopolsky, eric.araujo, ezio.melotti, jcea, lemburg, sdaoden, vstinner
Date 2011-02-24.16:04:49
SpamBayes Score 1.9473438e-08
Marked as misclassified No
Message-id <4D6681A0.9040608@egenix.com>
In-reply-to <1298562758.61.0.242893446923.issue11303@psf.upfronthosting.co.za>
Content
Steffen Daode Nurpmeso wrote:
> 
> Steffen Daode Nurpmeso <sdaoden@googlemail.com> added the comment:
> 
> .. i don't have actually invented this algorithm (but don't ask me where i got the idea from years ago), i've just implemented the function you see.  The algorithm itself avoids some pitfalls in respect to combining numerics and significantly reduces the number of possible normalization cases:
> 
>         "ISO-8859-1", "ISO8859-1", "ISO_8859-1", "LATIN1"
>         (+ think of additional mispellings)
> all become
>         "iso 8859 1", "latin 1"
> in the end

Please don't forget that the shortcuts in questions are *optimizations*.

Programmers who don't use the encoding names triggering those
optimizations will still have a running program, it'll only be
a bit slower and that's perfectly fine.
History
Date User Action Args
2011-02-24 16:04:50lemburgsetrecipients: + lemburg, jcea, belopolsky, vstinner, ezio.melotti, eric.araujo, sdaoden
2011-02-24 16:04:49lemburglinkissue11303 messages
2011-02-24 16:04:49lemburgcreate