On u'Unicode string literals' reintroduction (Py3)

jmfauth wxjmfauth at gmail.com
Wed Feb 29 16:17:13 CET 2012

On 29 fév, 14:45, jmfauth <wxjmfa... at gmail.com> wrote:
> For those who do not know:
> The u'' string literal trick has never worked in Python 2.
> >>> sys.version
> '2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]'>>> print u'Un oeuf à zéro EURO uro'
> Un  uf à zéro  uro
> jmf

Sorry, I just wanted to show a small example.
I semms Google as "changed" again.

You should read (2nd attempt)
u'Un œuf à zéro €' with the *correct* typed glyphs 'LATIN SMALL
in œuf and 'EURO SIGN' in '€uro'.


More information about the Python-list mailing list