some questions concerning UNICODE conversion in Python
junaftnoon at nospamplzyahoo.com
Wed Nov 8 13:06:48 CET 2000
I missed one important thing, sorry.
Suppose that sys.getdefaultencoding() == 'XYZ'. (imaginary encoding)
what it does is translate 'abc', which is encoded in XYZ, into UNICODE.
Am I right on this?
(suffering from understanding the very basic ideas)
"June Kim" <junaftnoon at nospamplzyahoo.com> wrote in message
news:8ubf0m$8oi$1 at news.nuri.net...
> What's the difference btw these two and what are the semantics?
> >>> u'blah blah blah <and some special characters>'
> >>> unicode('blah blah blah <and some special characters>')
> Thanks in advance.
More information about the Python-list