@@ -1395,7 +1395,7 @@ msgid ""
13951395"``-1`` or ``1``, any byte order mark is copied to the output."
13961396msgstr ""
13971397"如果 ``*byteorder`` 为零,且输入数据的前四个字节为字节序标记 (BOM),则解码器将切换为该字节序并且 BOM 将不会被拷贝到结果 "
1398- "Unicode 字节串中 。 如果 ``*byteorder`` 为 ``-1`` 或 ``1``,则字节序标记会被拷贝到输出中。"
1398+ "Unicode 字符串中 。 如果 ``*byteorder`` 为 ``-1`` 或 ``1``,则字节序标记会被拷贝到输出中。"
13991399
14001400#: ../../c-api/unicode.rst:1033
14011401msgid ""
@@ -1434,18 +1434,20 @@ msgstr ""
14341434
14351435#: ../../c-api/unicode.rst:1059
14361436msgid "UTF-16 Codecs"
1437- msgstr ""
1437+ msgstr "UTF-16 编解码器 "
14381438
14391439#: ../../c-api/unicode.rst:1061
14401440msgid "These are the UTF-16 codec APIs:"
1441- msgstr ""
1441+ msgstr "以下是 UTF-16 编解码器的 API: "
14421442
14431443#: ../../c-api/unicode.rst:1067
14441444msgid ""
14451445"Decode *size* bytes from a UTF-16 encoded buffer string and return the "
14461446"corresponding Unicode object. *errors* (if non-``NULL``) defines the error "
14471447"handling. It defaults to \" strict\" ."
14481448msgstr ""
1449+ "从 UTF-16 编码的缓冲区数据解码 *size* 个字节并返回相应的 Unicode 对象。 *errors* (如果不为 ``NULL``) "
1450+ "定义了错误处理方式。 默认为 \" strict\" 。"
14491451
14501452#: ../../c-api/unicode.rst:1078
14511453msgid ""
@@ -1455,12 +1457,15 @@ msgid ""
14551457"``-1`` or ``1``, any byte order mark is copied to the output (where it will "
14561458"result in either a ``\\ ufeff`` or a ``\\ ufffe`` character)."
14571459msgstr ""
1460+ "如果 ``*byteorder`` 为零,且输入数据的前两个字节为字节序标记 (BOM),则解码器将切换为该字节序并且 BOM 将不会被拷贝到结果 "
1461+ "Unicode 字符串中。 如果 ``*byteorder`` 为 ``-1`` 或 ``1``,则字节序标记会被拷贝到输出中 (它将是一个 "
1462+ "``\\ ufeff`` 或 ``\\ ufffe`` 字符)。"
14581463
14591464#: ../../c-api/unicode.rst:1084
14601465msgid ""
14611466"After completion, ``*byteorder`` is set to the current byte order at the end"
14621467" of input data."
1463- msgstr ""
1468+ msgstr "在完成后,``*byteorder`` 将在输入数据的末尾被设为当前字节序。 "
14641469
14651470#: ../../c-api/unicode.rst:1095
14661471msgid ""
0 commit comments