如何正确阅读日文和中文字符.我正在使用python 2.5.输出显示为"E:\Test\?????????"
"E:\Test\?????????"
path = r"E:\Test\?????????" t = path.encode() print t u = path.decode() print u t = path.encode("utf-8") print t t = path.decode("utf-8") print t
python python-2.5
python ×1
python-2.5 ×1