summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorpxinwr <peixing.xin@windriver.com>2019-03-04 09:02:06 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-03-04 09:02:06 (GMT)
commitf4b0a1c0da80318e0a4f4c70d2722f01ce3512dd (patch)
treef10e50c695bdeea8a9aeb06b59ace1d5540af53f /Doc/library/sys.rst
parent8bc401a55ce5dfcdd225c20786ba8e221a0bf29b (diff)
downloadcpython-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.rst8
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