File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -833,10 +833,12 @@ msgid ""
833833" reading such files, use the 'utf-8-sig' codec to automatically skip the "
834834"mark if present."
835835msgstr ""
836+ "在某些地区,习惯在 UTF-8 编码文件的开头用上“BOM”;此名称具有误导性,因为 UTF-8 与字节顺序无关。此标记只是声明该文件以 UTF-8 "
837+ "编码。要读取此类文件,请使用“utf-8-sig”编解码器自动忽略此标记。"
836838
837839#: ../../howto/unicode.rst:604
838840msgid "Unicode filenames"
839- msgstr ""
841+ msgstr "Unicode 文件名 "
840842
841843#: ../../howto/unicode.rst:606
842844msgid ""
@@ -849,6 +851,10 @@ msgid ""
849851"if you've set the ``LANG`` or ``LC_CTYPE`` environment variables; if you "
850852"haven't, the default encoding is again UTF-8."
851853msgstr ""
854+ "当今大多数操作系统的文件名都支持包含任意 Unicode 字符。通常这是通过将 Unicode 字符串转换为某系统的编码来实现的。如今的 Python "
855+ "趋向于采用 UTF-8 编码:MacOS 上的 Python 已经在多个版本中采用了 UTF-8,而 Python 3.6 在 Windows "
856+ "上也改用了 UTF-8。在 Unix 系统中,只有设置了 ``LANG`` 或 ``LC_CTYPE`` "
857+ "环境变量,才会采用某个文件系统编码;否则默认编码还是 UTF-8。"
852858
853859#: ../../howto/unicode.rst:616
854860msgid ""
You can’t perform that action at this time.
0 commit comments