Java tutorial
//package com.java2s; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; public class Main { public static String urlDecode(String urlCodeStr) { String str = null; try { str = URLDecoder.decode(urlCodeStr, "utf-8"); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } return str; } }