]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-31904: Add encoding support for VxWorks RTOS (GH-12051)
authorpxinwr <peixing.xin@windriver.com>
Mon, 4 Mar 2019 09:02:06 +0000 (17:02 +0800)
committerVictor Stinner <vstinner@redhat.com>
Mon, 4 Mar 2019 09:02:06 +0000 (10:02 +0100)
commitf4b0a1c0da80318e0a4f4c70d2722f01ce3512dd
treef10e50c695bdeea8a9aeb06b59ace1d5540af53f
parent8bc401a55ce5dfcdd225c20786ba8e221a0bf29b
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.
Doc/c-api/sys.rst
Doc/c-api/unicode.rst
Doc/library/sys.rst
Include/cpython/coreconfig.h
Misc/NEWS.d/next/Core and Builtins/2019-02-26-17-34-49.bpo-31904.R4KSj6.rst [new file with mode: 0644]
Python/coreconfig.c
Python/fileutils.c