Convertion of Unicode to ASCII NIGHTMARE
ChaosKCW
da.martian at gmail.com
Mon Apr 10 10:11:13 EDT 2006
>
> When python tries to concatenate a byte string and a unicode string, it
> assumes that the byte string is encoded ascii and tries to convert from
> encoded ascii to unicode. It calls ascii decoder to do the decoding. If
> decoding fails you see message from ascii decoder about the error.
>
> Serge
Ok I get it now. Sorry for the slowness. I have to say as a lover of
python for its simplicity and clarity, the charatcer set thing has been
harder than I would have liked to figure out.
Thanks for all the help.
More information about the Python-list
mailing list