Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: ASCII, Unicode, use utf8: My Story of Discovery

by Rich36 (Chaplain)
on Nov 01, 2002 at 18:35 UTC ( #209814=note: print w/replies, xml ) Need Help??

in reply to ASCII, Unicode, use utf8: My Story of Discovery

Oddly enough, I had just started to look for code that would allow me to detect special (non-alphanumeric) characters in ASCII text. The code

$U = unpack('C', $1); $U < 127 and $U > 31 or return;

was exactly what I needed. Thanks very much for sharing that.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2016-10-24 16:37 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (309 votes). Check out past polls.