New submission from Antoine Pitrou <pit...@free.fr>:

This is on an UCS-2 py3k build:

>>> ascii('\U00012FFF')
"'\\U00012fff'"
>>> ascii('\U0001D121')
"'\\ud834\\udd21'"

----------
components: Interpreter Core, Unicode
messages: 115905
nosy: haypo, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: ascii() does not always join surrogate pairs
type: behavior
versions: Python 3.1, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9804>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to