ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> i18n-sig
i18n-sig
Re: [I18n-sig] Python3.0.1.1 is not available when system locale is zh_TW.eucTW
by martin other posts by this author
May 31 2009 11:12AM messages near this date
[I18n-sig] Python3.0.1.1 is not available when system locale is zh_TW.eucTW | Play like royalty
>  Have you meet the same problem? Would you please kindly to tell me if I
>  missed some steps when I compile Python from source or some env
>  variables from shell or some others.

You did everything correctly; I can reproduce the problem.

The source of the problem is that Python does not support the EUC-TW
encoding. Unless a codec for that encoding is contributed, there is no
chance to run Python 3 in that locale. Python 3.1 will abort execution
with the error message

Fatal Python error: Py_Initialize: can't initialize sys standard streams
LookupError: unknown encoding: EUC-TW

Regards,
Martin
_______________________________________________
I18n-sig mailing list
I18n-sig@[...].org
http://mail.python.org/mailman/listinfo/i18n-sig
Thread:
Leeon Li
martin

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved