diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-06-24 16:47:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-24 16:47:44 (GMT) |
commit | 153e20e087577553ad92a4c802c71d96244e508e (patch) | |
tree | 68b044d5bebdb77af997232ef083701abd78e498 /setup.py | |
parent | 7329c8c7a263015c5dae04fc9fb7ec9d58508c76 (diff) | |
download | cpython-153e20e087577553ad92a4c802c71d96244e508e.zip cpython-153e20e087577553ad92a4c802c71d96244e508e.tar.gz cpython-153e20e087577553ad92a4c802c71d96244e508e.tar.bz2 |
bpo-41038: Fix non-ASCII string corruption in Win32 resource files (GH-20985)
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.
(cherry picked from commit 33b79b11b891adea5a916df8e3779505b37aabe7)
Co-authored-by: Nikita Nemkin <nikita@nemkin.ru>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions