Re: force unicode strings

2007-08-01 Thread Paul Boddie
Stefan Behnel wrote: > > I guess you can't afford to wait for Python 3, can you? > > http://www.python.org/dev/peps/pep-3100/#atomic-types No need to: just start python with the -U option: Python 2.4.1 (#2, Oct 4 2006, 16:53:35) [GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2.1)] on linux2 Type "help", "cop

Re: force unicode strings

2007-08-01 Thread Stefan Behnel
Thomas Guettler wrote: > is it possible to force all non ascii strings to be unicode strings > somehow? > > 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 i