Here you can find the source of stringUncode(String param)
public static String stringUncode(String param)
//package com.java2s; //License from project: Apache License import java.io.UnsupportedEncodingException; import java.net.URLDecoder; public class Main { public static String stringUncode(String param) { if (param != null && !param.trim().equals("")) { try { param = URLDecoder.decode(param, "UTF-8"); } catch (UnsupportedEncodingException e) { e.printStackTrace();/*from w w w . j av a 2s . co m*/ } } return param; } }