Re: "Removing Accents" from unicode strings

[email protected] ((Andreas J. Koenig))
Newsgroups perl.unicode
Message-ID <[email protected]>
>>>>> On 29 Oct 2005 22:12:36 +0200, Agnar Renolen <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.