[Patches] [ python-Patches-671666 ] Make the default encoding provided on Windows

SourceForge.net noreply@sourceforge.net
Mon, 27 Jan 2003 21:49:52 -0800


Patches item #671666, was opened at 2003-01-21 17:36
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=671666&group_id=5470

Category: Library (Lib)
Group: Python 2.3
>Status: Open
Resolution: Rejected
Priority: 5
Submitted By: SUZUKI Hisao (suzuki_hisao)
Assigned to: Nobody/Anonymous (nobody)
Summary: Make the default encoding provided on Windows

Initial Comment:
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.  This patch ensures them usable in
a very efficient way by aliasing them to "mbcs" in
such a case.

Note that IDLE does not start up on Windows unless
the default encoding is provided.  The patch makes
IDLE operable all over the (Windows) world ;-).

----------------------------------------------------------------------

>Comment By: SUZUKI Hisao (suzuki_hisao)
Date: 2003-01-28 14:49

Message:
Logged In: YES 
user_id=495142

I can reproduce the IDLE problem on my Windows
2000 in Japanese locale.  I hope you will confirm it
by asking your  friends in Japan or other countries.

I am afraid you missed the point.  The patch does NOT change
the default encoding of Python itself.
It is ASCII still.  It only makes the encoding of
locale.getdefaultlocale()[1]  be PROVIDED.

Please read that short patch. 


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-01-22 07:04

Message:
Logged In: YES 
user_id=21627

I'm rejecting this patch. The factory system default
encoding of Python is ASCII, on all platforms (atleast, it
should be this way; MacOS currently deviates).

I cannot reproduce the IDLE problem; IDLE starts without
that patch just fine.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=671666&group_id=5470