in reply to Removing \x092 with a regex

This might be silly, but why can't you just do this?
$str =~ s/’/'/;
That works for me.

Replies are listed 'Best First'.
Re^2: Removing \x092 with a regex
by wfsp (Abbot) on Jul 26, 2005 at 15:15 UTC
    Not silly at all and it works for me too.
    It's just that I can't see the damn thing in my editor :-(