Text::StripAccents - removes accented & special characters from strings


Text-StripAccents documentation  | view source Contained in the Text-StripAccents distribution.

Index


NAME

Top

 Text::StripAccents - removes accented & special characters from strings

SYNOPSIS

Top

 use Text::StripAccents;

 my $Stripaccent = Text::StripAccents->new();

 my $convertedString = $StripAccents->strip($unconvertedString);

OR

 use Text::StripAccents;

 stripaccents($string); 

DESCRIPTION

Top

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

Top

None.

SEE ALSO

Top

Text::Unaccent is a much more advanced utility to do the same job, but with a C dependency.

CHANGES

Top

0.11 - bugfix to clarify the documentation, as per Dobrica Pavlinusic's feedback.

LICENSE

Top

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

Top

Charles Colbourn - charlesc@g0n.net

(Character mapping hash supplied by Nigel Currie).


Text-StripAccents documentation  | view source Contained in the Text-StripAccents distribution.