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?
and the web crawler heard nothing...

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











    Results (356 votes). Check out past polls.