@@ -516,12 +516,15 @@ msgid ""
516516"special; they have no significance to Python but are a convention. Python "
517517"looks for ``coding: name`` or ``coding=name`` in the comment."
518518msgstr ""
519+ "上述语法的灵感来自于 Emacs 用于指定文件局部变量的符号。Emacs 支持许多不同的变量,但 Python 仅支持“编码”。 ``-*-`` 符号向"
520+ " Emacs 标明该注释是特殊的;这对 Python 没有什么意义,只是一种约定。Python 会在注释中查找 ``coding: name`` 或 "
521+ "``coding=name`` 。 "
519522
520523#: ../../howto/unicode.rst:351
521524msgid ""
522525"If you don't include such a comment, the default encoding used will be UTF-8"
523526" as already mentioned. See also :pep:`263` for more information."
524- msgstr ""
527+ msgstr "如果没有这种注释,则默认编码将会是前面提到的 UTF-8。更多信息请参阅 :pep:`263` 。 "
525528
526529#: ../../howto/unicode.rst:356
527530msgid "Unicode Properties"
@@ -536,12 +539,15 @@ msgid ""
536539"fractions such as one-third and four-fifths, etc.). There are also display-"
537540"related properties, such as how to use the code point in bidirectional text."
538541msgstr ""
542+ "Unicode "
543+ "规范包含了一个码位信息数据库。对于定义的每一个码位,都包含了字符的名称、类别、数值(对于表示数字概念的字符,如罗马数字、分数如三分之一和五分之四等)。还有有关显示的属性,比如如何在双向文本中使用码位。"
544+ " "
539545
540546#: ../../howto/unicode.rst:366
541547msgid ""
542548"The following program displays some information about several characters, "
543549"and prints the numeric value of one particular character::"
544- msgstr ""
550+ msgstr "以下程序显示了几个字符的信息,并打印一个字符的数值: "
545551
546552#: ../../howto/unicode.rst:380
547553msgid "When run, this prints:"
0 commit comments