Convertion of Unicode to ASCII NIGHTMARE

Roger Binns rogerb at rogerbinns.com
Wed Apr 5 12:08:20 EDT 2006


"Fredrik Lundh" <fredrik at pythonware.com> wrote in message news:mailman.4114.1144239972.27775.python-list at python.org...
> sounds like your understanding of Unicode and Python's Unicode system
> is a bit unclear.

Err, no.  Relaying unicode data between two disparate
C APIs requires being careful and thorough.  That means
paying attention to when conversions happen, byte ordering
(compile time) and boms (run time) and when the API
documentation isn't thorough, verifying the behaviour
yourself.  That requires a very clear understanding of
Unicode in order to do the requisite test cases, as well
as reading what the code does.

Roger





More information about the Python-list mailing list