In the announcement for Python-2.3
it says "raw_input( ): can now return Unicode objects".
But I didn't see anything about this in Andrew Kuchling's
"2.3 What's New", nor does the current python docs for
raw_input() say anything about this. A test on a MS
Windows system with a cp932 (japanese) default locale
shows the object returned by raw_input() is a str() object
containing cp932 encoded text. This remained true even
when I set Python's default encoding to cp932 (in
sitecustomize.p y).
So, does raw_input() ever return unicode objects and if
so, under what conditions?
it says "raw_input( ): can now return Unicode objects".
But I didn't see anything about this in Andrew Kuchling's
"2.3 What's New", nor does the current python docs for
raw_input() say anything about this. A test on a MS
Windows system with a cp932 (japanese) default locale
shows the object returned by raw_input() is a str() object
containing cp932 encoded text. This remained true even
when I set Python's default encoding to cp932 (in
sitecustomize.p y).
So, does raw_input() ever return unicode objects and if
so, under what conditions?
Comment