Staging
v0.5.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
Grammar -rw-r--r-- 9.6 KB
Tokens -rw-r--r-- 1.5 KB
python.gram -rw-r--r-- 31.6 KB

back to top