summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/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/c-api/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/c-api/sys.rst')
-rw-r--r--Doc/c-api/sys.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/sys.rst b/Doc/c-api/sys.rst
index 0eee35a..c8ea783 100644
--- a/Doc/c-api/sys.rst
+++ b/Doc/c-api/sys.rst
@@ -108,7 +108,7 @@ Operating System Utilities
Encoding, highest priority to lowest priority:
- * ``UTF-8`` on macOS and Android;
+ * ``UTF-8`` on macOS, Android, and VxWorks;
* ``UTF-8`` on Windows if :c:data:`Py_LegacyWindowsFSEncodingFlag` is zero;
* ``UTF-8`` if the Python UTF-8 mode is enabled;
* ``ASCII`` if the ``LC_CTYPE`` locale is ``"C"``,
@@ -154,7 +154,7 @@ Operating System Utilities
Encoding, highest priority to lowest priority:
- * ``UTF-8`` on macOS and Android;
+ * ``UTF-8`` on macOS, Android, and VxWorks;
* ``UTF-8`` on Windows if :c:data:`Py_LegacyWindowsFSEncodingFlag` is zero;
* ``UTF-8`` if the Python UTF-8 mode is enabled;
* ``ASCII`` if the ``LC_CTYPE`` locale is ``"C"``,