Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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.

Comment on Re^2: regexing for non-standard characters...
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://834987]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-02-14 14:48 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (470 votes), past polls