RTEditor/src/main/java/com/onegravity/rteditor/utils/Helper.java
public static String decodeQuery(String url) {
        try {
            return URLDecoder.decode(url, "UTF-8");
        }
        catch (UnsupportedEncodingException ignore) {}

        return url;
    }
public static String decodeQuery(String url) {
        try {
            return URLDecoder.decode(url, "UTF-8");
        }
        catch (UnsupportedEncodingException ignore) {}

        return url;
    }
public static String decodeQuery ( String url ) { try { return URLDecoder . decode ( url , "UTF-8" ) ; } catch ( UnsupportedEncodingException ignore ) { } return url ; }
This method decodes an url with encoded query string
@param url an url with encoded query string (e.g. http://www.1gravity.com?query%C3%BC%C3%B6)
@return The decoded url, e.g. http://www.1gravity.com?query=üö
This method decodes an url with encoded query string