durusmail: quixote-users: Unicode support for Quixote 2
Unicode support for Quixote 2
2004-09-03
2004-09-03
2004-09-03
2004-09-03
Quixote / mod_python - test workflow?
2004-09-04
Re: R: [Quixote-users] Quixote / mod_python - test workflow?
single word attributes in html.htmltag()
2004-09-05
Re: single word attributes in html.htmltag()
2004-09-06
2004-09-04
2004-09-08
Python Best of Breed web app snippets / small webapps
2004-09-08
2004-09-10
2004-09-09
2004-09-09
2004-09-09
2004-09-09
Unicode support for Quixote 2
Oleg Broytmann
2004-09-09
On Thu, Sep 09, 2004 at 01:20:36PM -0400, Neil Schemenauer wrote:
> On Thu, Sep 09, 2004 at 10:39:37AM -0700, Oscar Rambla wrote:
> >         '

Uni es %s

' % uni_val # XXX > > Combining str and unicode objects like this does not work in Python > 2.3. That is fixed in Python 2.4. It's amazing to me that > international users didn't complain about this problem earlier. What?! $ python Python 2.3.4 (#1, May 28 2004, 17:24:45) [GCC 3.2.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> u = unicode("Олег", "koi8-r") >>> s = "%s" % u >>> print type(s), s Олег Nothing to complain about. Have I missed something? Confused... Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
reply