NAME
Text::StripAccents - removes accented & special characters from strings
SYNOPSIS
use Text::StripAccents;
my $Stripaccent = Text::StripAccents->new();
my $convertedString = $StripAccents->strip($unconvertedString);
OR
use Text::StripAccents;
stripaccents($string);
DESCRIPTION
This simple module takes accented characters and replaces them with their anglicised ASCII counterparts, e.g. Ü becomes U. It currently ONLY supports Latin1. If there are any characters I've missed out that you think should be included, please mail me and I'll add them in.
This is a pure perl module with no prerequisites.
PREREQS
None.
SEE ALSO
Text::Unaccent is a much more advanced utility to do the same job, but with a C dependency.
CHANGES
0.11 - bugfix to clarify the documentation, as per Dobrica Pavlinusic's feedback.
LICENSE
Copyright 2005 by Charles Colbourn, all rights reserved. This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Charles Colbourn - charlesc@g0n.net
(Character mapping hash supplied by Nigel Currie).
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 51:
Non-ASCII character seen before =encoding in 'Ü'. Assuming CP1252