summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libsys.tex
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-06-16 04:53:46 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-06-16 04:53:46 (GMT)
commit64af6c545c67972fc492af5a69223f6ac46982b5 (patch)
treecea74054246ff247d69435aac3c709a4f0ddcfe3 /Doc/lib/libsys.tex
parentaefde435efb8e99c74ad147e1a1db76fe5de61aa (diff)
downloadcpython-64af6c545c67972fc492af5a69223f6ac46982b5.zip
cpython-64af6c545c67972fc492af5a69223f6ac46982b5.tar.gz
cpython-64af6c545c67972fc492af5a69223f6ac46982b5.tar.bz2
Comment that getfilesystemencoding returns mbcs even on NT+. Fixes #964870.
Diffstat (limited to 'Doc/lib/libsys.tex')
-rw-r--r--Doc/lib/libsys.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex
index 8d66c76..3b25e5a 100644
--- a/Doc/lib/libsys.tex
+++ b/Doc/lib/libsys.tex
@@ -228,7 +228,10 @@ It is always available.
according to the result of nl_langinfo(CODESET), or None if
the nl_langinfo(CODESET) failed.
\item On Windows NT+, file names are Unicode natively, so no conversion
- is performed.
+ is performed. \code{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.
\end{itemize}
\versionadded{2.3}
\end{funcdesc}