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