Message106171
> I think that we should use the locale encoding to encode and decode command line arguments.
I disagree. IIUC, this is only about OSX. Now, we shouldn't take any
action until either some OSX expert explains us how command line
arguments are being passed on OSX, or we find some Apple documentation
that can be taken as a specification.
I think the C locale is very poorly supported on OSX, and we shouldn't
really use it for anything. What may be useful is the terminal encoding
(which may be different both from UTF-8 and the locale encoding),
however, it's not possible to find out what the terminal encoding is.
In addition, programs may be started "directly" (i.e. not from the
terminal), in which case the terminal encoding would be irrelevant.
For file name arguments at least, it's very clear that the command line
arguments also use the file system encoding. |
|
Date |
User |
Action |
Args |
2010-05-20 17:23:05 | loewis | set | recipients:
+ loewis, vstinner, Arfrever |
2010-05-20 17:23:04 | loewis | link | issue8775 messages |
2010-05-20 17:23:03 | loewis | create | |
|