perl-unicode

Re: perl5.6+ native UTF8 to/from external encodings

2000-10-30 05:58:45
Nick Ing-Simmons wrote on 2000-10-30 12:37 UTC:
Clark Cooper <coopercc(_at_)netheaven(_dot_)com> writes:
There's a routine available in modern Unix called iconv for performing
character encoding conversion. I don't know how efficient it is. I believe
I've seen a module for it on CPAN.

It might be that iconv should be integerated into the core with 5.6+

The iconv(3) routine exists on both Solaris and Linux, but the 
set of supported encodings seems under specified and hard to determine.
(Linux seems to have far more and and easier way of finding out.)

The improved iconv that will come soon with glibc 2.2 under Linux are
also separately available in Bruno Haible's libiconv:

  http://clisp.cons.org/~haible/packages-libiconv.html

Libiconv can be used easily on systems that do not come with a
sufficiently good iconv() implementation from the OS vendor.

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: <http://www.cl.cam.ac.uk/~mgk25/>