perl-unicode

Re: Encode with Perl < 5.7

2002-07-21 22:30:04
On Sunday, July 21, 2002, at 02:36 AM, Axel Rose wrote:
Hello Dan,

what do you think is the best way to implement a conversion utility
without your "Encode" module?

Well, it was my first intention to make Encode older-perl compliant but as I get myself involved deeper and deeper into Encode and Perl 5.8 I am more convinced to evangelize 5.8 rather than backport Encode. I would rather want Encode to be one good reason to encourage the switch.

My need is often to convert between macroman and latin1/9.
I tried Unicode::String and XML::Encoding without success.

On perlmonks someone hinted to you the .umc files and try my
own translation...

That's one way to go; If what you said is all you need it would be much easier to writer a module just for that.

Still, it is worth mentioning that next Encode will be a two-stage project; One is to provide more ubiquitous, portable C library that can be used not only Perl but also others and the other is the interface to Perl. You may say 'why not iconv' and/or 'why reinvent a wheel' but if iconv were good enough Encode would've been much easier....

Dan the Encode Maintainer

<Prev in Thread] Current Thread [Next in Thread>