Message100063
| 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. |
|