[issue6097] Encoded surrogate characters on command line not escaped in sys.argv

2009-05-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the patch. Committed as r73020. -- nosy: +loewis resolution: -> accepted status: open -> closed ___ Python tracker ___

[issue6097] Encoded surrogate characters on command line not escaped in sys.argv

2009-05-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue6097] Encoded surrogate characters on command line not escaped in sys.argv

2009-05-24 Thread David Watson
New submission from David Watson : The mbstowcs and mbrtwoc functions which are used for the initial conversion of command-line arguments on Unix can return lone or paired surrogates (e.g. \udcff for \xed\xb3\xbf in non-strict UTF-8), and these surrogates are currently placed into sys.argv unesca