From: unknown Date: Wed, 4 Jul 2001 22:37:19 +0000 (+0000) Subject: Set the default 8-bit encoding based on the system script and language. X-Git-Tag: v2.2a3~1346 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d1054ef31a816e8a07de8caae14b379039d462ee;p=thirdparty%2FPython%2Fcpython.git Set the default 8-bit encoding based on the system script and language. --- diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index 1d5500f483d0..10c5a5ff7480 100644 --- a/Mac/Python/macmain.c +++ b/Mac/Python/macmain.c @@ -522,6 +522,8 @@ Py_Main(argc, argv) Py_Initialize(); + PyUnicode_SetDefaultEncoding(PyMac_getscript()); + PyMac_InstallNavServicesForSF(); PySys_SetArgv(argc-1, argv+1);