Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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: (8)
As of 2014-10-24 21:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (137 votes), past polls