As usual, if you think of a problem which most certainly is not yours only, there’s already a solution on CPAN. ) In this case it’s called Text::Unidecode
use warnings;
use strict;
use utf8;
use Text::Unidecode;
print unidecode('ä, ö, ü, é'); # will print 'a, o, u, e'
More Related Contents:
- How can I convert my shell script to Perl? [closed]
- search using perl one liner within a file [closed]
- How to re-direct the contents to a file instead of printing it to terminal
- How do I remove duplicate items from an array in Perl?
- What is the difference between library files and modules?
- How do I read in the contents of a directory in Perl?
- How can I pass command-line arguments to a Perl program?
- How do I efficiently parse a CSV file in Perl?
- How can I generate all permutations of an array in Perl?
- How can I install CPAN modules locally without root access (DynaLoader.pm line 229 error)?
- OpenSSL DH Key Too Small Error
- Manual installation of a Perl Module
- @ARGV is empty using ActivePerl in Windows 7
- ImageMagick Command-Line Option Order (and Categories of Command-Line Parameters)
- Perl Dereferencing Syntax
- How to extrace pg_backend_pid from postgresql in shell script and pass it to another process?
- What exactly does Perl’s “bless” do?
- What is the difference between `$this`, `@that`, and `%those` in Perl?
- Why are use warnings; use strict; not default in Perl?
- What is the difference between `read` and `sysread`?
- How to use shell variables in perl command call in a bash shell script?
- How do I tell what type of value is in a Perl variable?
- How can I find the version of an installed Perl module?
- What should I use for a Perl script’s shebang line?
- How can I find memory leaks in long-running Perl program?
- Why do Perl variables need to start with $, %,@ (sigils)?
- Print lines from one file that are not contained in another file
- Perl DBD::Oracle Module installation
- Explain the deviousness of the Perl “preamble”
- Why doesn’t Perl’s each() iterate through the entire hash the second time?