2024-10-04 01:36:33 发布
网友
我想用数字来定义utf-16(LE)字符。 An example is 'LINEAR B SYLLABLE B028 I'.
当我用u'\U00010001'转义此字符时,我收到u'\u0001'。 真的吗
>>> u'\U00010001' == u'\u0001' True
如何在Python应用程序中定义utf-16字符?在
IronPython 2.7版
您可以尝试使用命名文字: 打印“\N{LINEAR B音节B038 E}”
如果其他方法适用于cpython而不是ironpython,请用最小的测试用例打开一个ironpython问题。在
您可以尝试使用命名文字: 打印“\N{LINEAR B音节B038 E}”
如果其他方法适用于cpython而不是ironpython,请用最小的测试用例打开一个ironpython问题。在
相关问题 更多 >
编程相关推荐