[Python-checkins] r74545 - python/trunk/Doc/library/codecs.rst

georg.brandl python-checkins at python.org
Mon Aug 24 19:14:29 CEST 2009


Author: georg.brandl
Date: Mon Aug 24 19:14:29 2009
New Revision: 74545

Log:
#6772: mention utf-8 as utf8 alias.

Modified:
   python/trunk/Doc/library/codecs.rst

Modified: python/trunk/Doc/library/codecs.rst
==============================================================================
--- python/trunk/Doc/library/codecs.rst	(original)
+++ python/trunk/Doc/library/codecs.rst	Mon Aug 24 19:14:29 2009
@@ -863,7 +863,8 @@
 name, together with a few common aliases, and the languages for which the
 encoding is likely used. Neither the list of aliases nor the list of languages
 is meant to be exhaustive. Notice that spelling alternatives that only differ in
-case or use a hyphen instead of an underscore are also valid aliases.
+case or use a hyphen instead of an underscore are also valid aliases; therefore,
+e.g. ``'utf-8'`` is a valid alias for the ``'utf_8'`` codec.
 
 Many of the character sets support the same languages. They vary in individual
 characters (e.g. whether the EURO SIGN is supported or not), and in the


More information about the Python-checkins mailing list