Hi,
when I go a node.toHtml()
I get the string:-
The New York Times > George W
Why don't i get
The New York Times > George W
I tried to do a
String encoded = node.toHtml();
String decoded = URLDecoder.decode(encoded,"ISO-8859-1");
but it still decoded is = The New York Times > George W
How can I get the correct string?
pls help
try this:
String decoded = org.htmlparser.util.Translate.decode (encoded,"ISO-8859-1");
Log in to post a comment.
Hi,
when I go a
node.toHtml()
I get the string:-
The New York Times > George W
Why don't i get
The New York Times > George W
I tried to do a
String encoded = node.toHtml();
String decoded = URLDecoder.decode(encoded,"ISO-8859-1");
but it still decoded is =
The New York Times > George W
How can I get the correct string?
pls help
try this:
String decoded = org.htmlparser.util.Translate.decode (encoded,"ISO-8859-1");