This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients amaury.forgeotdarc, doerwalter, eric.smith, ezio.melotti, flox, lemburg, vstinner
Date 2010-02-24.18:25:59
SpamBayes Score 6.8141875e-05
Marked as misclassified No
Message-id <1267035961.19.0.098791628617.issue7649@psf.upfronthosting.co.za>
In-reply-to
Content
At least from point of view, the difference between ints and chars is:
* "u'%c' % 0xB5" means "create a Unicode char with codepoint 0xB5", i.e. the Unicode char µ U+00B5 MICRO SIGN;
* "u'%c' % '\xB5'" means "create a Unicode char converting the byte '\xB5' to Unicode", i.e. an Е U+0415 CYRILLIC CAPITAL LETTER IE if the byte string is encoded in iso-8859-5 or ต U+0E15 THAI CHARACTER TO TAO if it's encoded in iso-8859-11, and so on for every different encoding.
History
Date User Action Args
2010-02-24 18:26:01ezio.melottisetrecipients: + ezio.melotti, lemburg, doerwalter, amaury.forgeotdarc, vstinner, eric.smith, flox
2010-02-24 18:26:01ezio.melottisetmessageid: <1267035961.19.0.098791628617.issue7649@psf.upfronthosting.co.za>
2010-02-24 18:25:59ezio.melottilinkissue7649 messages
2010-02-24 18:25:59ezio.melotticreate