In [1]: import yaml In [2]: yaml.dump("ä", encoding=None) Out[2]: '"\\xE4"\n' ... in the docs: https://pyyaml.org/wiki/PyYAMLDocumentation.
確定! 回上一頁