libpython.py: fix support of non-BMP unicode characters
Forward port some code from Python3: * join surrogate pairs if sizeof(Py_UNICODE)==2 * Enable non-BMP test on narrow builds using u"\U0001D121" instead of unichr(0x1D121)
Showing
Please
register
or
sign in
to comment