宛先文字セット文字列の最後に "// TRANSLIT"または "// IGNORE"を追加してみてください。これはGNU Cライブラリの下でのみサポートされていることに注意してください。 iconv_open(3)から
:
//TRANSLIT
When the string "//TRANSLIT" is appended to tocode, translitera‐
tion is activated. This means that when a character cannot be
represented in the target character set, it can be approximated
through one or several similarly looking characters.
//IGNORE
When the string "//IGNORE" is appended to tocode, characters
that cannot be represented in the target character set will be
silently discarded.
代わりに、手動で文字をスキップし、あなたがiconv(3)から-EILSEQを得るときの出力で置換を挿入します。