Posted 2019-06-10Updated 2019-06-10Python / Py3stda few seconds read (About 17 words)0 visits国际化locale1234import localelocale.getpreferredencoding() # 获取平台默认编码方案 gettext国际化https://xyy15926.github.io/Python/Py3std/i18n.htmlAuthorUBeaRLyPosted on2019-06-10Updated on2019-06-10Licensed under#PythonLocalePy3std