commit | b4ff1113caaf849a2c8b3b2b17f1f2418cf6057c | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Thu Jan 30 19:55:28 2003 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Thu Jan 30 19:55:28 2003 +0000 |
tree | 4d033bb4ca7518a69dda1e75d78912bd901f8818 | |
parent | 2b93c4c70820d0314e8e297c2817d9e03d73df62 [diff] |
Check whether the choosen encoding requires byte swapping for this iconv() implementation in the init function. For encoding: use a byteswapped version of the input if neccessary. For decoding: byteswap every piece returned by iconv() if neccessary (but not those pieces returned from the callback) Comment out test_sane() in the test script, because whether this works depends on whether byte swapping is neccessary or not (an on Py_UNICODE_SIZE)