Set the default 8-bit encoding based on the system script and language.
This commit is contained in:
parent
f428aef3b2
commit
d1054ef31a
|
@ -522,6 +522,8 @@ Py_Main(argc, argv)
|
|||
|
||||
Py_Initialize();
|
||||
|
||||
PyUnicode_SetDefaultEncoding(PyMac_getscript());
|
||||
|
||||
PyMac_InstallNavServicesForSF();
|
||||
|
||||
PySys_SetArgv(argc-1, argv+1);
|
||||
|
|
Loading…
Reference in New Issue