直接上代码:name = "你好,中国人"byteName = bytes(name.encode("utf-8"))print(byteName)for b in byteName : print(bin(b),end="\t")
时间: 2024-12-28 21:46:32
直接上代码:name = "你好,中国人"byteName = bytes(name.encode("utf-8"))print(byteName)for b in byteName : print(bin(b),end="\t")