diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-12-12 12:58:45 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-12-12 12:58:45 +0100 |
commit | 808eb752b8381e17e192e69f96791f5401efe895 (patch) | |
tree | ee101ff07894e0cbc1d302b4963009cb48a7b999 /Python/frozenmain.c | |
parent | a907ce64d4523285f131f4c22a62d6b88805009f (diff) | |
parent | 1b0701bb08dc23bd32212dd896a1c3589f9f6268 (diff) | |
download | cpython-808eb752b8381e17e192e69f96791f5401efe895.tar.gz |
Merge 3.4 (test_selectors)
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r-- | Python/frozenmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c index 55d05fc26f..cb84ed5f24 100644 --- a/Python/frozenmain.c +++ b/Python/frozenmain.c @@ -52,7 +52,7 @@ Py_FrozenMain(int argc, char **argv) setlocale(LC_ALL, ""); for (i = 0; i < argc; i++) { - argv_copy[i] = _Py_char2wchar(argv[i], NULL); + argv_copy[i] = Py_DecodeLocale(argv[i], NULL); argv_copy2[i] = argv_copy[i]; if (!argv_copy[i]) { fprintf(stderr, "Unable to decode the command line argument #%i\n", |