Message106141
> sys.argv is decoded with the file system encoding
IIRC this is not exact. Py_Main signature is
Py_Main(int argc, wchar_t **argv)
then PyUnicode_FromWideChar is used, and there is no conversion (except from UCS4 to UCS2).
The wchar_t strings themselves are built with mbstowcs(), the file system encoding is not used. |
|
Date |
User |
Action |
Args |
2010-05-20 12:29:35 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, vstinner |
2010-05-20 12:29:35 | amaury.forgeotdarc | set | messageid: <1274358575.09.0.0825753656663.issue8776@psf.upfronthosting.co.za> |
2010-05-20 12:29:33 | amaury.forgeotdarc | link | issue8776 messages |
2010-05-20 12:29:33 | amaury.forgeotdarc | create | |
|