citrus_viqr module wrongly stops to convert character if input ends with mnemonic chars.
try following:
$ echo "A." | iconv -f VIQR -t java
\u1ea0
$ echo -n "A." | iconv -f VIQR -t java
iconv: iconv(): Invalid argument
this is not only VIQR problem, UTF-5 encoding(not merged yet) have same problems.
Comments (11)
-
reporter -
reporter oops, UTF-5 is stateless encoding, so mbrtowc_state_reset should not use _ENCODING_IS_STATE_DEPENDENT.
-
reporter - changed status to open
-
reporter - changed status to resolved
BUGFIX: Issue
#63-- citrus_viqr module wrongly stops to convert character if input ends with mnemonic chars.→ <<cset 264f89b87b20>>
-
reporter i dicided that there is no merit to change libencoding's ABI. so i don't change stdenc, add kludge to iconv_std only.
-
reporter Revert "BUGFIX: Issue
#63-- citrus_viqr module wrongly stops to convert character if input ends with mnemonic chars."This reverts commit 264f89b87b20ff699b3d031eb13000a45469788f.
→ <<cset 28c68479b7fc>>
-
reporter - changed status to open
previous fix is break other encoding conversion, so i revert and start to rework.
-
reporter Issue
#69was marked as a duplicate of this issue. -
reporter - changed status to resolved
BUGFIX: Issue
#63-- citrus_viqr module wrongly stops to convert character if input ends with mnemonic chars. (DUPLICATE: Issue#69-- citrus_utf5 module UTF-5 -> other encoding may causes EILSEQ.)→ <<cset bf4720bdbc5e>>
-
reporter BUGFIX: Issue
#72-- after fix Issue#63, iconv(3) can't detect incomplete input or shift state.→ <<cset acbef0854e4c>>
-
reporter - changed status to closed
- Log in to comment
suggested fix: