diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-04-29 16:07:20 +0000 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-04-29 16:07:20 +0000 |
commit | ab9149dc8a6ed5a25d550775fc32c31f5a547dd5 (patch) | |
tree | 5de0152ed2ff7b83329d858c7356a16e2408d5b2 | |
parent | 5c4c4619b0144684a1309de746809879b04848fa (diff) | |
download | cpython-git-ab9149dc8a6ed5a25d550775fc32c31f5a547dd5.tar.gz |
Group the Windows entries in getfilesystemencoding doc, move the win 9x one at the bottom of the list and fix some markup.
-rw-r--r-- | Doc/library/sys.rst | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 807245f327..cec2966157 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -379,17 +379,19 @@ always available. 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 |