Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 chanting in the Monastery: (6)
As of 2014-12-21 11:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls