perl-unicode

Re: "Removing Accents" from unicode strings

2005-10-31 02:13:07
On 29 Oct 2005 22:12:36 +0200, Agnar Renolen <agnarr(_at_)c2i(_dot_)net> 
said:

  > Hello,
  > I need to convert strings obtained from a mysql database in utf8 format
  > into a fileformat to be uploaded to specific hardware (specifically
  > GPS's).  Some of these formats may only allow unaccented characters, so
  > I need a way to convert accented characters into their respective base
  > characters, g.e. unicode 'ó' into ASCII 'o', 'ä' into 'a' and so  forth.

  > Is there an easy way to do this in Perl?

Text::Unidecode

-- 
andreas

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