Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Unaccenting characters

by mwhiting (Beadle)
on Aug 28, 2013 at 16:31 UTC ( #1051300=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %table = ( '└' => 'A', '┴' => 'A', '┬' => 'A', '├' => 'A', '─' => '
    +A', '┼' => 'A',
                  'ă' => 'C',
                  '╚' => 'E', '╔' => 'E', '╩' => 'E', '╦' => 'E',
    ...
    $str = "Les MisÚrables";
    $str =~ s/([^\x00-\x7F])/$table{'$1'} || '?'/ge;
    print "str:$str<br>";
    
  2. or download this
    str:Les Mis?rables
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1051300]
Approved by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2016-06-25 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.