Hi Jeremy and Kripa, Both of your techniques work -- Thanks!
Although, there's a bit of an oddity. For some reason, the smart quotes are represented by chr(226), rather than chr(14[5|6|7|8]). If I do a substitution with chr(226) the smart quotes disappear, but they are replaced with " '<80><9c>" for the left side double smart quote and "'<80><9d>" for the right side double smart quote. Not sure why that is -- anyone want to hazard a guess? Thanks, Chris On 7/15/05, Jeremy Muhlich <[EMAIL PROTECTED]> wrote: > On Fri, 2005-07-15 at 13:39 -0400, Chris Brooks wrote: > > > $xml =~ s/chr(145)/'/g; > > $xml =~ s/chr(146)/'/g; > > $xml =~ s/chr(147)/"/g; > > $xml =~ s/chr(148)/"/g; > > You can use \xNN to mean "the character with hex ascii code NN". Here's > some code to do exactly what you want: > > http://groups-beta.google.com/group/hsv.tech/msg/1d6bba86642d2e11 > > > -- Jeremy > > > _______________________________________________ > Boston-pm mailing list > Boston-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/boston-pm > _______________________________________________ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm