Java tutorial
//package com.java2s; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; public class Main { public static final String decodeURL(String str) { try { return URLDecoder.decode(str, "utf-8"); } catch (UnsupportedEncodingException e) { throw new RuntimeException(e); } } }