in reply to Getting rid of non-standard ASCII characters

 WIthout worrying about the ranges involved directly why not just remove 'unprintable' characters like this:

$text =~ s/[[:^print:]]//g
Steve
---
steve.org.uk

Replies are listed 'Best First'.
Re^2: Getting rid of non-standard ASCII characters
by Aristotle (Chancellor) on Dec 19, 2002 at 13:39 UTC
    Usually because of efficiency. If you resort to a pattern at least make it s/[[:^print:]]+//g

    Makeshifts last the longest.