> > unicode("some string", "unicode-escape") [...] > For example the copyright symbol "©" (repr("©") gives "\xa9"). > Now I want to convert this string to unicode. > u"©" works fine, unicode(variable) gives an ASCII decoding error. As I said: unicode-escape is the precise encoding that is used to parse Unicode strings from source files. It interprets all bytes above 128 as Latin-1. Regards, Martin
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