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.
In reply to Re: ASCII, Unicode, use utf8: My Story of Discovery
by Rich36
in thread ASCII, Unicode, use utf8: My Story of Discovery
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |