perl-unicode

possible patch for Perl 5.8.2's Alias.pm

2003-10-29 17:30:06
Hi,

a year ago, there was a discussion on this list about Encode not
recognizing "TIS-620" as alias for "iso-8859-11":

http://nntp.x.perl.org/group/perl.unicode/1656

In the latest release of Encode::Alias (1.38 from Encode 1.9801,
included in Perl 5.8.2-RC1), "TIS-620" will still fail as a valid
encoding name, although that is still the only Thai character-set name
approved by IANA. So why not applying that simple patch to
Encode/Alias.pm:

# Alias.patch:

176c176
<                 'tis620'   => 'iso-8859-11',
---
                qr/tis[-]?620/i   => '"iso-8859-11"',


patch -b Alias.pm Alias.patch

best,
rob.

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