From ef8b654bbea15dc55767a7095e01dff7a3ca86cb Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Sun, 13 May 2001 08:04:26 +0000 Subject: 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. --- Python/getargs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/getargs.c') diff --git a/Python/getargs.c b/Python/getargs.c index 6eabd75b4d..d78faa71fa 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; -- cgit v1.2.1