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
    I. What $wd scalar stands for ?

      jeteve asked along these lines...

      I. What $wd scalar stands for ?

      In this example, $wd is a MIME::WordDecoder object.

      See this (part of this) for more complete usage. At the time, I could not provide a link because the article wasn't published yet.

      Best regards

      -lem, but some call me fokat

Re: Re: stripping accents
by jeteve (Pilgrim) on Jun 01, 2004 at 12:11 UTC
    I. What $wd stands for ?