iconv(1) don't initialize iconv_t when reuse each file conversion.

Issue #74 closed
Takehiko NOZAKI repo owner created an issue

iconv(1) flush iconv_t by iconv(cd, NULL, NULL, out, outsz). but some stateful encoding may end up with 'stable' state(not 'initial' state).

so full initialize iconv(cd, NULL, NULL, NULL, NULL) is required.

Comments (2)

  1. Log in to comment