Staging
v0.8.1
https://github.com/python/cpython
Revision 33b79b11b891adea5a916df8e3779505b37aabe7 authored by Nikita Nemkin on 24 June 2020, 16:27:42 UTC, committed by GitHub on 24 June 2020, 16:27:42 UTC
In absence of explicit declaration, resource compiler uses system
codepage. When this codepage is DBCS or UTF-8, Python's copyright
string is corrupted, because it contains copyright sign encoded
as \xA9.

The fix is to explicitly declare codepage 1252.
1 parent 0430dfa
History
Tip revision: 33b79b11b891adea5a916df8e3779505b37aabe7 authored by Nikita Nemkin on 24 June 2020, 16:27:42 UTC
bpo-41038: Fix non-ASCII string corruption in Win32 resource files (GH-20985)
Tip revision: 33b79b1
File Mode Size
Python.asdl -rw-r--r-- 5.2 KB
asdl.py -rw-r--r-- 12.7 KB
asdl_c.py -rwxr-xr-x 48.3 KB
myreadline.c -rw-r--r-- 11.9 KB
parser.c -rw-r--r-- 829.7 KB
peg_api.c -rw-r--r-- 2.2 KB
pegen.c -rw-r--r-- 58.1 KB
pegen.h -rw-r--r-- 9.7 KB
string_parser.c -rw-r--r-- 47.3 KB
string_parser.h -rw-r--r-- 1.8 KB
token.c -rw-r--r-- 4.5 KB
tokenizer.c -rw-r--r-- 56.9 KB
tokenizer.h -rw-r--r-- 3.8 KB

back to top