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

Reply via email to