Message73533
Today I learned something: wchar_t can be 2 or 4 bytes, PyUNICODE can be
2 or 4 bytes, and all combinations are possible.
My error was to use PyUnicode_FromUnicode on a wchar_t*; PyUnicode_FromWideChar is the obvious function to use.
Attached a new patch (command_unicode_2.patch) for review. |
|
Date |
User |
Action |
Args |
2008-09-21 21:37:57 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, loewis, pitrou, benjamin.peterson |
2008-09-21 21:37:57 | amaury.forgeotdarc | set | messageid: <1222033077.84.0.305118915414.issue3705@psf.upfronthosting.co.za> |
2008-09-21 21:36:56 | amaury.forgeotdarc | link | issue3705 messages |
2008-09-21 21:36:56 | amaury.forgeotdarc | create | |
|