GNU libiconv 1.6.1
ftp://ftp.gnu.org/pub/gnu/libiconv/
http://clisp.cons.org/~haible/packages-libiconv.html
This is a portable implementation of the SUSV2 iconv() library
call. It can convert from any to any wide-spread encoding, including
the encodings used by locales of any supported system. The locale's
multibyte and wide char encodings are denoted "char" and "wchar_t",
respectively.
This library is not meant for Linux, because on Linux with glibc-2.2
you have the same functionality (with better performance) already in
libc. What it brings you on Linux is that you can rely on iconv()
without portability fears.
iconv() is a key component for codeset independent programming of
advanced text processing. You know that wchar_t is not useful for
anything beyond old POSIX character properties and terminal output
width (because that's all a libc offers, and assuming
__STDC_ISO_10646__ would not be portable, the old story...) If you
choose UTF-8 or UCS-4 as internal representation for your application,
using libiconv for conversion from/to the locale encoding used at the
surface of your application, you can now do advanced text handling:
line breaking, bidi reordering, fiddling with quote characters,
representation of math formulas, box drawing characters, ligature
substitution, combining characters, etc.
Bruno
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/