Help on exceptions (was: Convertion of Unicode to ASCII NIGHTMARE)

Roger Binns rogerb at rogerbinns.com
Mon Apr 10 23:32:43 EDT 2006


"Serge Orlov" <Serge.Orlov at gmail.com> wrote in message news:1144718544.134817.126720 at i39g2000cwa.googlegroups.com...
> It can be like this. Notice special url, it is pointing to a
> non-existing :) tutorial about why concatenating byte strings with
> unicode strings can produce UnicodeDecodeError

An alternate is to give an error code that people can use to
look up (and users can report).  It also has the advantage
of being language neutral.  You can see this kind of approach
on IBM systems (mainframe, AIX etc) and Oracle.

Roger 





More information about the Python-list mailing list