commit | ef8b654bbea15dc55767a7095e01dff7a3ca86cb | [log] [tgz] |
---|---|---|
author | Mark Hammond <mhammond@skippinet.com.au> | Sun May 13 08:04:26 2001 +0000 |
committer | Mark Hammond <mhammond@skippinet.com.au> | Sun May 13 08:04:26 2001 +0000 |
tree | 778653b95245ae2d31e5a5ed94c0c491e1687b15 | |
parent | 342c65e19ac0cc47bf2b21026c76e63440b23748 [diff] [blame] |
Add support for Windows using "mbcs" as the default Unicode encoding when dealing with the file system. As discussed on python-dev and in patch 410465.
diff --git a/Python/getargs.c b/Python/getargs.c index 6eabd75..d78faa7 100644 --- a/Python/getargs.c +++ b/Python/getargs.c
@@ -698,7 +698,7 @@ 's' (recode all objects via Unicode) or 't' (only recode non-string objects) */ - if (*format != 's') + if (*format == 's') recode_strings = 1; else if (*format == 't') recode_strings = 0;