diff options
author | pxinwr <peixing.xin@windriver.com> | 2019-03-04 09:02:06 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2019-03-04 09:02:06 (GMT) |
commit | f4b0a1c0da80318e0a4f4c70d2722f01ce3512dd (patch) | |
tree | f10e50c695bdeea8a9aeb06b59ace1d5540af53f /Doc/library/sys.rst | |
parent | 8bc401a55ce5dfcdd225c20786ba8e221a0bf29b (diff) | |
download | cpython-f4b0a1c0da80318e0a4f4c70d2722f01ce3512dd.zip cpython-f4b0a1c0da80318e0a4f4c70d2722f01ce3512dd.tar.gz cpython-f4b0a1c0da80318e0a4f4c70d2722f01ce3512dd.tar.bz2 |
bpo-31904: Add encoding support for VxWorks RTOS (GH-12051)
Use UTF-8 as the system encoding on VxWorks.
The main reason are:
1. The locale is frequently misconfigured.
2. Missing some functions to deal with locale in VxWorks C library.
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r-- | Doc/library/sys.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 018f0c9..0fa5bd4 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -524,13 +524,17 @@ always available. * In the UTF-8 mode, the encoding is ``utf-8`` on any platform. - * On Mac OS X, the encoding is ``'utf-8'``. + * On macOS, the encoding is ``'utf-8'``. * On Unix, the encoding is the locale encoding. * On Windows, the encoding may be ``'utf-8'`` or ``'mbcs'``, depending on user configuration. + * On Android, the encoding is ``'utf-8'``. + + * On VxWorks, the encoding is ``'utf-8'``. + .. versionchanged:: 3.2 :func:`getfilesystemencoding` result cannot be ``None`` anymore. @@ -1023,7 +1027,7 @@ always available. Linux ``'linux'`` Windows ``'win32'`` Windows/Cygwin ``'cygwin'`` - Mac OS X ``'darwin'`` + macOS ``'darwin'`` ================ =========================== .. versionchanged:: 3.3 |