Menu

node.toHtml()

Help
2005-02-15
2013-04-27
  • javacodeforger

    javacodeforger - 2005-02-15

    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

     
    • Derrick Oswald

      Derrick Oswald - 2005-02-15

      try this:

      String decoded = org.htmlparser.util.Translate.decode (encoded,"ISO-8859-1");

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.