in reply to stripping accents
Use Unicode::Map8. This is a fragment of an article of mine (sorry, can't provide a direct link right now) that uses it:
use Unicode::Map8; my $map = Unicode::Map8->new('ASCII') print $map->to8($map->to16($wd->decode($my_utf8_string)));
Note that using ASCII to do the conversion, will simply strip the accents. You can usa addpair() to provide translations. For instance, you can use a instead of á.
Best regards
-lem, but some call me fokat
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: stripping accents
by jeteve (Pilgrim) on Jun 01, 2004 at 12:08 UTC | |
by fokat (Deacon) on Jun 04, 2004 at 20:49 UTC | |
|
Re: Re: stripping accents
by jeteve (Pilgrim) on Jun 01, 2004 at 12:11 UTC |