Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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.


«Rich36»


Comment on Re: ASCII, Unicode, use utf8: My Story of Discovery
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2014-12-29 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (185 votes), past polls