From d1054ef31a816e8a07de8caae14b379039d462ee Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 4 Jul 2001 22:37:19 +0000 Subject: [PATCH] Set the default 8-bit encoding based on the system script and language. --- Mac/Python/macmain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index 1d5500f483d..10c5a5ff748 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);