Message93781
If you want to specify codepoints greater than U+FFFF you have to use
u'\Uxxxxxxxx':
>>> x = u'\u10380'
>>> x.encode('utf-8')
'\xe1\x80\xb80'
>>> x[0]
u'\u1038'
>>> x[1]
u'0'
>>> y = u'\U00010380'
>>> y.encode('utf-8')
'\xf0\x90\x8e\x80' |
|
Date |
User |
Action |
Args |
2009-10-09 09:16:52 | ezio.melotti | set | recipients:
+ ezio.melotti, msaghaei |
2009-10-09 09:16:52 | ezio.melotti | set | messageid: <1255079812.41.0.900365039954.issue7090@psf.upfronthosting.co.za> |
2009-10-09 09:16:49 | ezio.melotti | link | issue7090 messages |
2009-10-09 09:16:49 | ezio.melotti | create | |
|