Re: how to use int'l data in perl scripts?

[email protected] (Autrijus Tang) Fri, 1 Mar 2002 18:15:33 +0800
Newsgroups perl.i18n
Message-ID <[email protected]>
On Thu, Feb 28, 2002 at 05:56:12PM -0800, Mags Doheny wrote:
> i need to get my perl scripts to recognize strings encoded in other
> charsets; the utf8 pragma does the trick for unicode; does anyone know
> of other pragmas available for, say, the iso-8859-x charsets?

You may want simply to use a source filter to do that. See Filter::Simple
on CPAN or 5.7.x.

I have a similiar module called Lingua::Sinica::PerlYuYan (that does what
Lingua::Romana::Perligata did to Latin to Chinese) that uses the same
technique; it's on CPAN, and you might want to check both of them.

/Autrijus/
signature.asc (application/pgp-signature, 200 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6d-cvs (FreeBSD)

iEYEARECAAYFAjx/VMQACgkQtLPdNzw1AaBELgCggmYM0eIwfRf+Cb85xo+1jVic
p0oAn1mGA6EurkNvJ8s13hnJEixJlwJ+
=j3RL
-----END PGP SIGNATURE-----