mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
#1276: Add temporary encoding aliases for non-supported Mac CJK
encodings that are detected as system defaults in MacOS with CJK locales. Will be replaced by properly-implemented codecs in 3.1.
This commit is contained in:
parent
20443f3043
commit
50d1f7935d
2 changed files with 11 additions and 0 deletions
|
|
@ -519,4 +519,9 @@ aliases = {
|
||||||
#'zip' : 'zlib_codec',
|
#'zip' : 'zlib_codec',
|
||||||
#'zlib' : 'zlib_codec',
|
#'zlib' : 'zlib_codec',
|
||||||
|
|
||||||
|
# temporary mac CJK aliases, will be replaced by proper codecs in 3.1
|
||||||
|
'x_mac_japanese' : 'shift_jis',
|
||||||
|
'x_mac_korean' : 'euc_kr',
|
||||||
|
'x_mac_simp_chinese' : 'gb2312',
|
||||||
|
'x_mac_trad_chinese' : 'big5',
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,12 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #1276: Added temporary aliases for CJK Mac encodings to resolve
|
||||||
|
a build problem on MacOS with CJK locales. It adds four temporary
|
||||||
|
mappings to existing legacy codecs that are virtually compatible
|
||||||
|
with Mac encodings. They will be replaced by codecs correctly
|
||||||
|
implemented in 3.1.
|
||||||
|
|
||||||
- Issue #3614: Corrected a typo in xmlrpc.client, leading to a NameError
|
- Issue #3614: Corrected a typo in xmlrpc.client, leading to a NameError
|
||||||
"global name 'header' is not defined".
|
"global name 'header' is not defined".
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue