Re: [Htmlparser-user] Warning message about charset
Brought to you by:
derrickoswald
|
From: Derrick O. <der...@ro...> - 2007-02-15 02:14:52
|
Hi Subbu,=0A=0AThis message is spit out if a character set that is specifie=
d in a META tag can't be resolved to a real character set name.=0ASee the d=
oSemanticAction() of MetaTag:=0A charset =3D getPage ().getChars=
et (getAttribute ("CONTENT"));=0Awhere the call to Page.getCharset() is cal=
ling Page.findCharset(), where the message is generated.=0A=0ADerrick=0A=0A=
----- Original Message ----=0AFrom: Subramanya Sastry <sa...@cs...>=
=0ATo: htm...@li...=0ASent: Wednesday, February 14=
, 2007 3:17:51 AM=0ASubject: [Htmlparser-user] Warning message about charse=
t=0A=0AHi there,=0A=0AI have been using HTML Parser for a while now, and ha=
ppy with it. But, =0AI have now run into a minor glitch and am hoping some=
one here might be =0Aable to help me with it.=0A=0AOn some html pages, I ge=
t the following warning / error message:=0A "unable to determine cann=
onical charset name for x-user-defined - =0Ausing ISO-8859-1"=0AThe rest of=
the parsing proceeds fine without a hitch.=0A=0AI am not able to figure ou=
t where the error message is coming from .. I =0Aknow it is being spit out =
during parsing. Can anyone tell me how I =0Acould catch this error and rai=
se an exception -- because this error =0Amessage corresponds to other bad t=
hings happening further down the =0Apipeline in my application.=0A=0AThanks=
for any leads.=0A=0ASubbu.=0A=0A=0A---------------------------------------=
----------------------------------=0ATake Surveys. Earn Cash. Influence the=
Future of IT=0AJoin SourceForge.net's Techsay panel and you'll get the cha=
nce to share your=0Aopinions on IT & business topics through brief surveys-=
and earn cash=0Ahttp://www.techsay.com/default.php?page=3Djoin.php&p=3Dsour=
ceforge&CID=3DDEVDEV=0A_______________________________________________=0AHt=
mlparser-user mailing lis...@li...=0Ahttps:=
//lists.sourceforge.net/lists/listinfo/htmlparser-user=0A=0A=0A=0A=0A |