Message119223
> One solution would be to duplicate the UTF-8 decoder for OSX,
> incorporating surrogate escape. This should be much shorter
> than the full UTF-8 codec, and perhaps at least utf8_code_length
> could be shared.
Good idea, implemented in the attached patch [osx_utf8_cmdline-3.patch]. I tested the patch on x86 Snow Leopard 3.x and it looks like it fixes the test_cmd_line failure (I modified some tests to remove manually LC_ALL, LC_CTYPE and LANG environment variables). |
|
Date |
User |
Action |
Args |
2010-10-20 16:39:03 | vstinner | set | recipients:
+ vstinner, loewis, skip.montanaro, ixokai, ronaldoussoren, amaury.forgeotdarc, mark.dickinson, pitrou, piro, MrJean1, rpetrov, michael.foord, slmnhq |
2010-10-20 16:39:02 | vstinner | set | messageid: <1287592742.88.0.069476788224.issue4388@psf.upfronthosting.co.za> |
2010-10-20 16:39:01 | vstinner | link | issue4388 messages |
2010-10-20 16:39:00 | vstinner | create | |
|