]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
If Python doesn't have a Unicode codec for the current system encoding
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 18 Jul 2001 22:37:56 +0000 (22:37 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 18 Jul 2001 22:37:56 +0000 (22:37 +0000)
return "ascii", not "macroman".

Mac/Python/macglue.c

index c760107a990f16ebb4af31dbd2cba45f5d41bd7f..5fdfe559efa49c2e72222b8bd25a8a028632a110 100644 (file)
@@ -227,7 +227,7 @@ char *PyMac_getscript()
     case smCyrillic:
         return "mac-cyrillic";
     default:
-        return "mac-roman"; /* better than nothing */
+        return "ascii"; /* better than nothing */
     }
 }