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
Neil Schemenauer
2004-09-09
On Thu, Sep 09, 2004 at 09:45:08PM +0400, Oleg Broytmann wrote:
> On Thu, Sep 09, 2004 at 01:20:36PM -0400, Neil Schemenauer wrote:
> > 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?!

Sorry, that statement was not quite accurate.  Example code is
better.

class Foo:
    def __str__(self):
        return u'\u1234'

u'%s' % Foo() # doesn't work in 2.3 but works in 2.4

reply