|
|
@@ -17,8 +17,7 @@ def testUtf8Encode(self): |
|
|
(u'\u1234'.encode('utf-8'), 0x1234),
|
|
|
(u'\U00020000'.encode('utf-8'), 0x00020000),
|
|
|
# Out of range gives Unicode replacement character.
|
|
|
#('\xef\xbf\xbd', 0x100200),
|
|
|
(None, 0x100200),
|
|
|
('\xef\xbf\xbd', 0x10020000),
|
|
|
]
|
|
|
|
|
|
for expected, code_point in CASES:
|
|
|
|
0 comments on commit
e6cdfa6