Here you can find the source of decodeHtmlString(String inputString)
public static String decodeHtmlString(String inputString)
//package com.java2s; //License from project: Open Source License import java.io.UnsupportedEncodingException; public class Main { public static String decodeHtmlString(String inputString) { String result;//from w w w . ja v a 2 s .c o m try { result = java.net.URLDecoder.decode(inputString, "UTF8"); } catch (UnsupportedEncodingException e) { // TODO Auto-generated catch block e.printStackTrace(); result = ""; } return result; } }