| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
It appears that there's a fair number of issues with the handling of CJK charsets, particularly in the case of ISO-2022-x, which segfault.
Make test binaries depend on the module target, so the module gets built if make test is done on a clean tree.
svn path=/trunk/iconv/; revision=5710
|
|
|
|
| |
svn path=/trunk/iconv/; revision=5709
|
|
|
|
|
|
| |
to U+20AC (euro) and not U+00A4 (currency sign)
svn path=/trunk/iconv/; revision=5708
|
|
|
|
| |
svn path=/trunk/iconv/; revision=5707
|
|
|
|
| |
svn path=/trunk/iconv/; revision=5706
|
|
|
|
|
|
|
| |
This fixes *ReadAliases on <> RISC OS, and Iconv's eightbit codec.
Fix iconv_eightbit_read to ensure that it treats the input as unsigned bytes.
svn path=/trunk/iconv/; revision=5705
|
|
|
|
| |
svn path=/trunk/iconv/; revision=5704
|
|
|
|
|
|
|
| |
+ 0xdb,0xdc,0xdd,0xde are undefined
+ 0xfc,0xfd,0xfe,0xff are undefined
svn path=/trunk/iconv/; revision=5703
|
|
|
|
|
|
|
| |
+ 0xaf mapping is now to U+00AF and not U+203E
+ 0xfd/0xfe should be mapped to U+200E/U+200F and not U+020E/U+020F, respectively
svn path=/trunk/iconv/; revision=5702
|
|
|
|
|
|
| |
previously based on the ISO-8859-7 FCD, after which 0xAE was removed, and the mapping of 0xB7 was changed.
svn path=/trunk/iconv/; revision=5701
|
|
|
|
| |
svn path=/trunk/iconv/; revision=5700
|
|
|
|
|
|
|
|
|
|
| |
correct place in the input sequence (namely the start of the erroneous sequence).
Unfortunately, UnicodeLib reads past the erroneous sequence so we previously returned a pointer to the middle/end of the sequence rather than the start.
The only way I could think of doing this was to perform the conversion twice -- counting the number of successfully processed characters first, then to convert that number of characters again. We then play spot-the-difference with the output parameters to determine the correct return value.
As encodings provided by UnicodeLib may be stateful, we need to be able to save the current state of the codecs and then restore them when we attempt the second conversion (otherwise, state-based encodings will do entirely the wrong thing). There's no API in UnicodeLib to do this and, given it's such an unlikely use case, I've not added any. Instead, we get to poke around in the UnicodeLib internals and do the save/restore ourselves.
svn path=/trunk/iconv/; revision=5699
|
|
|
|
| |
svn path=/trunk/iconv/; revision=5696
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disable the UTF-8 test, as it currently fails:
1) A bug in UnicodeLib's UTF-8 decoder results in 0x80 being treated as
valid input
2) There's no way of determining if U+FFFD was the result of invalid input
or valid input which happened to decode to that codepoint
3) UnicodeLib drops U+FEFF on the floor
Disable UCS-{2,4}{BE,LE}, as we don't support those encodings.
svn path=/trunk/iconv/; revision=5694
|
|
|
|
|
|
| |
Bail on the first error.
svn path=/trunk/iconv/; revision=5693
|
|
|
|
| |
svn path=/trunk/iconv/; revision=5691
|
|
|
|
|
|
| |
This still needs a bit of work, not least to get sensible automated testing. It currently requires manual inspection of the output, which isn't all that great.
svn path=/trunk/iconv/; revision=5690
|
|
|
|
|
|
| |
Add support for UCS-4-INTERNAL, which is a platform-endian UCS4 variant.
svn path=/trunk/iconv/; revision=5689
|
|
|
|
| |
svn path=/trunk/iconv/; revision=5688
|
|
|
|
| |
svn path=/trunk/iconv/; revision=5686
|
|
|
|
| |
svn path=/trunk/iconv/; revision=5685
|
|
|
|
|
|
| |
Actually invoke this command through the wrapper code.
svn path=/trunk/iconv/; revision=5684
|
|
|
|
|
|
| |
Add an Iconv command (currently no code support)
svn path=/trunk/iconv/; revision=5682
|
|
|
|
|
|
|
| |
Use UNICODE_DIR on non-RO as the path to the Unicode resource.
Fix a bunch of logging statements that didn't use %zd for size_t.
svn path=/trunk/iconv/; revision=5681
|
|
|
|
|
|
|
|
|
| |
Various hackery to get it to build for non-RO platforms.
A bunch of const-correctness fixes.
Hack around strict aliasing warning.
Don't expect the menu code to work on 64bit platforms. Sprinkling a bit of intptr_t around may well be some kind of solution.
svn path=/trunk/iconv/; revision=5680
|
|
|
|
| |
svn path=/trunk/iconv/; revision=5679
|
|
|
|
| |
svn path=/trunk/iconv/; revision=5678
|
|
svn path=/trunk/iconv/; revision=5677
|