I am getting following encoded html as a json response and has no idea how to decode it to normal html string, which is an achor tag by the way.
x3ca hrefx3d
This works for me
public static String convertUTF8Units_version2(String input) throws UnsupportedEncodingException { return URLDecoder.decode(input.replaceAll("\\\\x", "%"),"UTF-8"); }