字符编码

1. get the unicode of a character

// python
code = ord(u"印")
print(code, type(code))

""" Result:
21360 <class 'int'>
"""
posted @ 2022-12-22 10:45  shendawei  阅读(16)  评论(0)    收藏  举报