]> granicus.if.org Git - python/commit
#3705: Command-line arguments were not correctly decoded when the
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 11 Nov 2008 23:04:59 +0000 (23:04 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 11 Nov 2008 23:04:59 +0000 (23:04 +0000)
commit9a5499b4e54f1d74dfe41772d780511c8ad1120c
tree4aac685d27ffba930b8c36f4dc356aed6728a0b3
parentd3013ffa49e889ff96ed967f574aa01b91b09f12
#3705: Command-line arguments were not correctly decoded when the
terminal does not use UTF8.

Now the code propagates the unicode string as far as possible, and avoids
the conversion to char* which implicitely uses utf-8.

Reviewed by Benjamin.
Lib/test/test_cmd_line.py
Misc/NEWS
Modules/main.c
Python/import.c