Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: regexing for non-standard characters...

by crashtest (Curate)
on Apr 15, 2010 at 23:06 UTC ( #834987=note: print w/replies, xml ) Need Help??


in reply to Re: regexing for non-standard characters...
in thread regexing for non-standard characters...

An extra alternative:

use charnames ':full'; ... print (charnames::viacode( ord($ch))); # EM DASH
Which is of course nothing you couldn't figure out using a Unicode lookup table (like "Character Map" on Windows) once you know the code point.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://834987]
help
Chatterbox?
NodeReaper tries to shade his eye-sockets with his hands

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2017-02-27 16:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (388 votes). Check out past polls.