mirror of https://github.com/python/cpython
Comment that getfilesystemencoding returns mbcs even on NT+. Fixes #964870.
This commit is contained in:
parent
aefde435ef
commit
64af6c545c
|
@ -228,7 +228,10 @@ It is always available.
|
||||||
according to the result of nl_langinfo(CODESET), or None if
|
according to the result of nl_langinfo(CODESET), or None if
|
||||||
the nl_langinfo(CODESET) failed.
|
the nl_langinfo(CODESET) failed.
|
||||||
\item On Windows NT+, file names are Unicode natively, so no conversion
|
\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}
|
\end{itemize}
|
||||||
\versionadded{2.3}
|
\versionadded{2.3}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
Loading…
Reference in New Issue