mirror of https://github.com/python/cpython
We have cp932 support in standard distribution now. And there's now
no major codepages unsupported by Python, so remove the eg. case.
This commit is contained in:
parent
61dafcb6ca
commit
4a8d42f73f
|
@ -311,10 +311,9 @@ class _Helper:
|
|||
__builtin__.help = _Helper()
|
||||
|
||||
|
||||
# On Windows, some default encodings are not provided
|
||||
# by Python (e.g. "cp932" in Japanese locale), while they
|
||||
# are always available as "mbcs" in each locale.
|
||||
# Make them usable by aliasing to "mbcs" in such a case.
|
||||
# On Windows, some default encodings are not provided by Python,
|
||||
# while they are always available as "mbcs" in each locale. Make
|
||||
# them usable by aliasing to "mbcs" in such a case.
|
||||
|
||||
if sys.platform == 'win32':
|
||||
import locale, codecs
|
||||
|
|
Loading…
Reference in New Issue