【发布时间】:2019-08-12 14:15:27
【问题描述】:
我收到以下错误。有人知道如何获取与大代码点相对应的 Unicode 字符吗?谢谢。
Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 29 2018, 20:59:26)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> unichr(119964)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: unichr() arg not in range(0x10000) (narrow Python build)
【问题讨论】:
标签: python unicode python-unicode