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 ezio.melotti, msaghaei
Date 2009-10-09.09:16:49
SpamBayes Score 0.020979587
Marked as misclassified No
Message-id <1255079812.41.0.900365039954.issue7090@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2009-10-09 09:16:52ezio.melottisetrecipients: + ezio.melotti, msaghaei
2009-10-09 09:16:52ezio.melottisetmessageid: <1255079812.41.0.900365039954.issue7090@psf.upfronthosting.co.za>
2009-10-09 09:16:49ezio.melottilinkissue7090 messages
2009-10-09 09:16:49ezio.melotticreate