66# Translators:
77# 8af080f2e6702c64bedd01873aed27e8_25aec74 <fd99d14239138a1f987c22e7736dde81_777475>, 2021
88# 1lin24 <[email protected] >, 20219- 109# Jiuh-star <[email protected] >, 202111101211@@ -32,7 +31,7 @@ msgstr ""
3231
3332#: ../../c-api/unicode.rst:6
3433msgid "Unicode Objects and Codecs"
35- msgstr "Unicode对象和编码解码器 "
34+ msgstr "Unicode对象和编解码器 "
3635
3736#: ../../c-api/unicode.rst:12
3837msgid "Unicode Objects"
@@ -1285,6 +1284,9 @@ msgid ""
12851284"looked up using the Python codec registry. Return ``NULL`` if an exception "
12861285"was raised by the codec."
12871286msgstr ""
1287+ "编码一个 Unicode 对象并将结果作为 Python 字节串对象返回。 *encoding* 和 *errors* 具有与 Unicode "
1288+ ":meth:`~str.encode` 方法中同名形参相同的含义。 要使用的编解码器将使用 Python 编解码器注册表来查找。 "
1289+ "如果编解码器引发了异常则返回 ``NULL``。"
12881290
12891291#: ../../c-api/unicode.rst:946
12901292msgid "UTF-8 Codecs"
@@ -1299,6 +1301,7 @@ msgid ""
12991301"Create a Unicode object by decoding *size* bytes of the UTF-8 encoded string"
13001302" *s*. Return ``NULL`` if an exception was raised by the codec."
13011303msgstr ""
1304+ "通过解码 UTF-8 编码的字符串 *s* 的 *size* 个字节创建一个 Unicode 对象。 如果编解码器引发了异常则返回 ``NULL``。"
13021305
13031306#: ../../c-api/unicode.rst:960
13041307msgid ""
0 commit comments