GrammyPuter has asked for the wisdom of the Perl Monks concerning the following question:
I have an epub file which somehow has garbage in it. I want to replace the garbage with appropriate html. Here is what I have.
$parse_string =~ s/[\xE2][\x80][\x9C]/"/g;This isn't working. I wish the wisdom of the perl monks on how to replace whole strings of unprintable garbage rendered as hex
Thank You.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Search and Replace Garbage
by kcott (Archbishop) on May 28, 2012 at 23:52 UTC | |
|
Re: Search and Replace Garbage
by Anonymous Monk on May 28, 2012 at 20:37 UTC | |
by Anonymous Monk on May 29, 2012 at 07:05 UTC | |
by Anonymous Monk on May 29, 2012 at 07:11 UTC | |
|
Re: Search and Replace Garbage
by GrammyPuter (Initiate) on May 28, 2012 at 21:13 UTC |