UnicodeError: ASCII decoding error: ordinal not in range(128)

Gerhard Häring gerhard.haering at gmx.de
Fri Jul 19 19:50:54 EDT 2002


* eugene kim <eugene1977 at hotmail.com> [2002-07-19 18:46 -0500]:
> i used this code..
> self.url=attributes["url"].encode('utf-8')
> what should i do more?

Encode all the other Unicode strings into utf-8 bytestrings.

Gerhard
-- 
This sig powered by Python!
Außentemperatur in München: 15.7 °C      Wind: 0.7 m/s





More information about the Python-list mailing list