On Apr 13, 5:57 am, Ben [EMAIL PROTECTED] wrote:
I'm left with some legacy code using plain oldstr, and I need to make
sure it works withunicodeinput/output. I have a simple plan to do
this:
- Run the code with python -U so all the string literals
becomeunicodelitrals.
Requiring that the
Ben wrote:
I'm left with some legacy code using plain old str, and I need to make
sure it works with unicode input/output. I have a simple plan to do
this:
- Run the code with python -U so all the string literals become
unicode litrals.
- Add this statement
str = unicode
to all
I'm left with some legacy code using plain old str, and I need to make
sure it works with unicode input/output. I have a simple plan to do
this:
- Run the code with python -U so all the string literals become
unicode litrals.
- Add this statement
str = unicode
to all .py files so the type