@@ -1192,16 +1192,21 @@ msgid ""
11921192"many places, including :func:`open`, :class:`Popen`, :meth:`Path.read_text`,"
11931193" etc."
11941194msgstr ""
1195+ ":func:`locale.getpreferredencoding` 将返回 ``'UTF-8'`` 而不是系统的编码格式。 "
1196+ "此函数可用来在许多场合下获取默认的文本编码格式,包括 :func:`open`, :class:`Popen`, "
1197+ ":meth:`Path.read_text` 等等。"
11951198
11961199#: /home/travis/build/python/cpython-doc-catalog/Doc/using/windows.rst:631
11971200msgid ""
11981201":data:`sys.stdin`, :data:`sys.stdout`, and :data:`sys.stderr` all use UTF-8 "
11991202"as their text encoding."
12001203msgstr ""
1204+ ":data:`sys.stdin`, :data:`sys.stdout` 和 :data:`sys.stderr` 都将使用 UTF-8 "
1205+ "作为其文本编码格式。"
12011206
12021207#: /home/travis/build/python/cpython-doc-catalog/Doc/using/windows.rst:633
12031208msgid "You can still use the system encoding via the \" mbcs\" codec."
1204- msgstr ""
1209+ msgstr "你仍然可以通过 \" mbcs \" 编解码器来使用系统的编码格式。 "
12051210
12061211#: /home/travis/build/python/cpython-doc-catalog/Doc/using/windows.rst:635
12071212msgid ""
@@ -1211,20 +1216,22 @@ msgid ""
12111216"recommended to set the environment variable temporarily or use the ``-X "
12121217"utf8`` command line option."
12131218msgstr ""
1219+ "请注意添加 ``PYTHONUTF8=1`` 到默认环境变量将会影响你的系统中的所有 Python 3.7+ 应用。 如果你有任何 Python "
1220+ "3.7+ 应用仍然依赖于传统的系统编码格式,则推荐设置临时环境变量或使用 ``-X utf8`` 命令行选项。"
12141221
12151222#: /home/travis/build/python/cpython-doc-catalog/Doc/using/windows.rst:642
12161223msgid ""
12171224"Even when UTF-8 mode is disabled, Python uses UTF-8 by default on Windows "
12181225"for:"
1219- msgstr ""
1226+ msgstr "即使在不启用 UTF-8 模式时,Windows 版的 Python 也会在以下情况中默认使用 UTF-8: "
12201227
12211228#: /home/travis/build/python/cpython-doc-catalog/Doc/using/windows.rst:645
12221229msgid "Console I/O including standard I/O (see :pep:`528` for details)."
1223- msgstr ""
1230+ msgstr "控制台 I/O 包括标准 I/O (详情见 :pep:`528`)。 "
12241231
12251232#: /home/travis/build/python/cpython-doc-catalog/Doc/using/windows.rst:646
12261233msgid "The filesystem encoding (see :pep:`529` for details)."
1227- msgstr ""
1234+ msgstr "文件系统编码格式 (详情见 :pep:`529`)。 "
12281235
12291236#: /home/travis/build/python/cpython-doc-catalog/Doc/using/windows.rst:652
12301237msgid "Python Launcher for Windows"
0 commit comments