diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2001-05-13 08:04:26 (GMT) |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2001-05-13 08:04:26 (GMT) |
commit | ef8b654bbea15dc55767a7095e01dff7a3ca86cb (patch) | |
tree | 778653b95245ae2d31e5a5ed94c0c491e1687b15 /Python/getargs.c | |
parent | 342c65e19ac0cc47bf2b21026c76e63440b23748 (diff) | |
download | cpython-ef8b654bbea15dc55767a7095e01dff7a3ca86cb.zip cpython-ef8b654bbea15dc55767a7095e01dff7a3ca86cb.tar.gz cpython-ef8b654bbea15dc55767a7095e01dff7a3ca86cb.tar.bz2 |
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.
Diffstat (limited to 'Python/getargs.c')
-rw-r--r-- | Python/getargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ convertsimple1(PyObject *arg, char **p_format, va_list *p_va) '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; |