in reply to uc/lc with extended ASCII
use locale; $string_lc = lc($string); $string_uc = uc($string);
sub lc { my $string = shift; $string =~ tr/ÁÀÇÉÈËÍÌÏÑÓÒÖÚÙÜ/áàçéèëíìïñóòöúùü/; CORE::lc($string); } sub uc { my $string = shift; $string =~ tr/áàçéèëíìïñóòöúùü/ÁÀÇÉÈËÍÌÏÑÓÒÖÚÙÜ/; CORE::uc($string); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: uc/lc with extended ASCII
by Vennis (Pilgrim) on Aug 28, 2002 at 13:16 UTC |