Subject: Re: CVS commit: pkgsrc/editors/abiword
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-changes
Date: 12/18/2007 00:47:07
On Tue, Dec 18, 2007 at 12:38:45AM +0100, Matthias Drochner wrote:
> For the record, the other differences between GNU and NetBSD iconv
> I'm aware of are:
> -GNU treats empty from/to arguments as "current locale's encoding",
>  which is easily made portable by nl_langinfo(CODESET)
> -GNU does not understand "646" (related to the former)
> -GNU returns an EILSEQ error on sequences which are valid in
>  the source codeset but can't be expressed in the dst codeset.
>  This is clearly a standards violation, but otoh it seems to
>  be the only way to give the caller control of the replacement
>  character.

One more difference is that GNU iconv handles error reporting different,
e.g. it allows you to pinpoint the unconvertable character. This is in
violation of the standard as well.

Joerg