]> granicus.if.org Git - python/commitdiff
#6772: mention utf-8 as utf8 alias.
authorGeorg Brandl <georg@python.org>
Mon, 24 Aug 2009 17:14:29 +0000 (17:14 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 24 Aug 2009 17:14:29 +0000 (17:14 +0000)
Doc/library/codecs.rst

index 5b306829b889dbe6477ec5bb79db9f309ceadf5a..589fa0ff1850a9028fab8be8beeadde11b36e3c1 100644 (file)
@@ -863,7 +863,8 @@ or with dictionaries as mapping tables. The following table lists the codecs by
 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