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

Re: iconv in glibc



Edmund GRIMLEY EVANS <edmundo@rano.demon.co.uk> writes:

> It seems that iconv() in glibc-2.1.1 returns EILSEQ when the input
> sequence is valid but there is no equivalent in the output charset.
> Has this behaviour been corrected in glibc-2.2?

This is not wrong.

> What does it do instead? Is it capable of stripping diacritics where
> necessary?

There will be support for transliteration.  But unlike in programs
which do something like this today it'll be done right.

> Will iconv() in glibc-2.2 convert from utf-7? (I would argue that
> utf-7 should be treated as a codeset, like utf-8 or iso-2022-jp, even
> if it is only used in e-mail and somewhat resembles quoted-printable.)

I've never seen UTF-7 being used therefore I haven't added it.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/