Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by Rich36 (Chaplain)
on Nov 01, 2002 at 18:35 UTC ( [id://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.


«Rich36»

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-03-19 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found