Set the default 8-bit encoding based on the system script and language.

This commit is contained in:
unknown 2001-07-04 22:37:19 +00:00
parent f428aef3b2
commit d1054ef31a

View File

@ -522,6 +522,8 @@ Py_Main(argc, argv)
Py_Initialize();
PyUnicode_SetDefaultEncoding(PyMac_getscript());
PyMac_InstallNavServicesForSF();
PySys_SetArgv(argc-1, argv+1);