in reply to Re^2: HTML::TokeParser Problem
in thread HTML::TokeParser Problem
The same might apply to the apostrophe that occurs later in the same string (replace it with "%27"), and since you'll be doing stuff in perl with this string, you'd better treat the dollar sign as well ("%24").... saloon.18%22 alloy...
By any chance, has something already been done to this text, in terms of "decoding" uri escapes, before you get to the point in your script that throws the error? If so, maybe just postpone doing that sort of step until later in the script.
Update (oops): As tye points out in the following reply, I'm wrong -- it's not a URI-escape thing, it's an HTML Entity thing. So, my question should have been phrased "has something been done to decode HTML entity references (like ")?" If so, don't do that, or do it later.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: HTML::TokeParser Problem (entitties)
by tye (Sage) on Dec 17, 2004 at 06:51 UTC | |
|
Re^4: HTML::TokeParser Problem
by sirius98 (Acolyte) on Dec 17, 2004 at 10:08 UTC | |
|
Re^4: HTML::TokeParser Problem
by sirius98 (Acolyte) on Dec 18, 2004 at 05:35 UTC |