[Python-checkins] r80620 - python/trunk/Doc/library/sys.rst
ezio.melotti
python-checkins at python.org
Thu Apr 29 18:07:20 CEST 2010
Author: ezio.melotti
Date: Thu Apr 29 18:07:20 2010
New Revision: 80620
Log:
Group the Windows entries in getfilesystemencoding doc, move the win 9x one at the bottom of the list and fix some markup.
Modified:
python/trunk/Doc/library/sys.rst
Modified: python/trunk/Doc/library/sys.rst
==============================================================================
--- python/trunk/Doc/library/sys.rst (original)
+++ python/trunk/Doc/library/sys.rst Thu Apr 29 18:07:20 2010
@@ -379,17 +379,19 @@
file names, or ``None`` if the system default encoding is used. The result value
depends on the operating system:
- * On Windows 9x, the encoding is "mbcs".
-
- * On Mac OS X, the encoding is "utf-8".
+ * On Mac OS X, the encoding is ``'utf-8'``.
* On Unix, the encoding is the user's preference according to the result of
- nl_langinfo(CODESET), or :const:`None` if the ``nl_langinfo(CODESET)`` failed.
+ nl_langinfo(CODESET), or ``None`` if the ``nl_langinfo(CODESET)``
+ failed.
* On Windows NT+, file names are Unicode natively, so no conversion is
- performed. :func:`getfilesystemencoding` still returns ``'mbcs'``, as this is
- the encoding that applications should use when they explicitly want to convert
- Unicode strings to byte strings that are equivalent when used as file names.
+ performed. :func:`getfilesystemencoding` still returns ``'mbcs'``, as
+ this is the encoding that applications should use when they explicitly
+ want to convert Unicode strings to byte strings that are equivalent when
+ used as file names.
+
+ * On Windows 9x, the encoding is ``'mbcs'``.
.. versionadded:: 2.3
More information about the Python-checkins
mailing list