diff options
author | unknown <tools@python.org> | 2001-07-04 22:37:19 (GMT) |
---|---|---|
committer | unknown <tools@python.org> | 2001-07-04 22:37:19 (GMT) |
commit | d1054ef31a816e8a07de8caae14b379039d462ee (patch) | |
tree | 9df1193c0dc3440a2497ec0398ba1821d0306bf3 /Mac/Python | |
parent | f428aef3b24e6839168f55dd6238739b4bbfb9fa (diff) | |
download | cpython-d1054ef31a816e8a07de8caae14b379039d462ee.zip cpython-d1054ef31a816e8a07de8caae14b379039d462ee.tar.gz cpython-d1054ef31a816e8a07de8caae14b379039d462ee.tar.bz2 |
Set the default 8-bit encoding based on the system script and language.
Diffstat (limited to 'Mac/Python')
-rw-r--r-- | Mac/Python/macmain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index 1d5500f..10c5a5f 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); |