[ python-Bugs-964284 ] Cannot encode 5 digit unicode.
SourceForge.net
noreply at sourceforge.net
Tue Jun 1 10:04:19 EDT 2004
Bugs item #964284, was opened at 2004-06-01 13:58
Message generated for change (Comment added) made by mozbugbox
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=964284&group_id=5470
Category: Unicode
Group: Python 2.3
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Bugs Fly (mozbugbox)
Assigned to: M.-A. Lemburg (lemburg)
Summary: Cannot encode 5 digit unicode.
Initial Comment:
For this unicode point:
http://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint=21484
If I do a:
>>> u"\u21484"
or
>>> "\u21484".decode('unicode-escape')
I got 2 character: \u2148 and 4.
outside BMP?
----------------------------------------------------------------------
>Comment By: Bugs Fly (mozbugbox)
Date: 2004-06-01 14:04
Message:
Logged In: YES
user_id=1033842
It seems that I have to use \U instead of \u here.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=964284&group_id=5470
More information about the Python-bugs-list
mailing list