in reply to weird character problems

The "<E2><80><99>" etc you are getting look like hex numbers. So you could try this instead:
$line =~ s/[\xE2\x80\x99]/'/g; # convert each of E2,80,99 into ' # or $line =~ s/\xE2\x80\x99/'/g; # convert hex sequence into '

Replies are listed 'Best First'.
Re: Re: weird character problems
by MCS (Monk) on Jan 29, 2004 at 18:48 UTC
    Thanks... the second one works great. I figured they were special characters, I just didn't know what to do with them.