force unicode strings

Thomas Guettler guettli.usenet at
Wed Aug 1 17:19:08 CEST 2007


is it possible to force all non ascii strings to be unicode strings

Sometimes I forget that I need to write u'...' if the string contains
an umlaut. I get an exception in django later. But since the
exception does not show the string it is hard to find it.

Is it possible to loop over all strings the interpreter has parsed?

Pure ascii strings are OK.


Thomas Güttler,
E-Mail: guettli (*) thomas-guettler + de
Spam Catcher: niemand.leermann at

More information about the Python-list mailing list