NAME
Text::Unaccent - Remove accents from a string
SYNOPSIS
use Text::Unaccent;
$unaccented = unac_string($charset, $string);
$unaccented = unac_string_utf16($string);
DESCRIPTION
Text::Unaccent is a module that remove accents from a string. unac_string converts the input string from the specified charset to UTF-16 and call unac_string_utf16 to return the unaccented equivalent. The conversion from and to UTF-16 is done with iconv(1).
METHODS
- $unaccented = unac_string($charset, $string)
-
Return the unaccented equivalent of the string
$string. The character set of$stringis specified by the$charsetargument. The returned string is coded using the same character set. Valid values for the$charsetargument are character sets known by iconv(1). Under GNU/Linux tryiconv --listfor a complete list. - $unaccented = unac_string_utf16($string)
-
Return the unaccented equivalent of the string
$string. The character set of$stringmust be UTF-16.
AUTHOR
Loic Dachary (loic@senga.org) http://www.sourceforge.net/projects/unac/
SEE ALSO
iconv(1).