tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Status of Citrus libiconv?



On Thu, Mar 19, 2009 at 10:48:11AM +0900, SODA Noriyuki wrote:
> : If iconv() encounters a character in the input buffer that is valid,
> : but for which an identical character does not exist in the target
> : codeset, iconv() shall perform an implementation-defined conversion on
> : this character.
> 
> GNU iconv stops to translate its conversion in this case, and the
> "//TRANSLIT" option is used to make GNU iconv conform to this POSIX
> behavior.

You are mixing up "//IGNORE" and "//TRANSLIT" here. The GNU iconv
behavior with //IGNORE is to use the empty string as conversion for
invalid characters.

Joerg


Home | Main Index | Thread Index | Old Index