标签: python-2.7
程序失败,出现UnicodeDecodeError
from pathlib import Path pathname = u"üü" p = Path(pathname)
我认为,一旦您将字符串设置为unicode,它就会自动编码为utf-8。我该如何解决?