to use unicode strings only

Peter Otten __peter__ at
Sat Jun 27 13:54:19 CEST 2009

MRAB wrote:

> Gaudha wrote:

>> I wanna make all the strings in my code unicode strings. How to do it
>> without giving unicode switch 'u' before every string?
> Use Python 3.1 instead.

or use

from __future__ import unicode_literals 

in Python 2.6.

More information about the Python-list mailing list