Ka-Ping Yee wrote: >... > (But if a Unicode string contains characters outside of > the Latin-1 range, is it supposed to raise an exception > on an attempt to convert to an ordinary string? In that > case, the actual behaviour of the above example would be > a) and i'm not sure if that would get annoying fast.) I forget the "last word" on this, but (IMO) str(unicode_object) should return a UTF-8 encoded string. Cheers, -g p.s. what's up with Mailman... it seems to have broken badly on the [Python-Dev] insertion... I just stripped a bunch of 'em -- Greg Stein, http://www.lyra.org/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4