iconv: convert to HZ encoding won't escape '~'.

Issue #139 resolved
Takehiko NOZAKI repo owner created an issue
  • Citrus iconv
printf '~' | iconv -f UTF-8 -t hz
~
  • Perl piconv
printf '~' | piconv -f UTF-8 -t hz
~~

Comments (2)

  1. Takehiko NOZAKI reporter

    hmm, GNU libiconv has same problem too?

    or this is correct behavior? i can’t remember anymore…

  2. Takehiko NOZAKI reporter

    CLEANUP/ENHANCEMENT/BUGFIX: rewrite citrus_hz module: 1. slight performance improvement, drop incomplete hz+/ehz encoding support. 2. split citrus_hz's mbrtowc/wcrtomb -> decoder/encoder. 3. fix Issue #139 - iconv: convert to HZ encoding won't escape '~'.

    → <<cset c14fbd62d99e>>

  3. Log in to comment