in reply to Re: string? Or binary garbage?
in thread string? Or binary garbage?
$a =~ /\p{IsC}/
...which says, "crazy control characters and such." However, that seems to be matching legitimate text in some cases. So, I try
$a !~ /\p{IsPrint}/
but that doesn't work either. Then I tried:
$a !~ /\p{IsASCII}/
but that's also not working. I can get into the details on why these things aren't working, but I keep thinking someone's going to pipe in with a statement like, "I ran into this ages ago, and here's a routine that finds all the exceptions..."
If not, I suppose I can elaborate on how this isn't working.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: string? Or binary garbage?
by argv (Pilgrim) on Dec 01, 2004 at 01:57 UTC | |
by hakkr (Chaplain) on Dec 01, 2004 at 15:55 UTC |