public static String decodeUrlIso ( String stringToDecode ) { try { return URLDecoder . decode ( stringToDecode , "ISO-8859-1" ) ; } catch ( UnsupportedEncodingException e1 ) { throw new RuntimeException ( e1 ) ; } }
URL - Decodes a given string using ISO - 8859 - 1 . No UnsupportedEncodingException to handle as it is dealt with in this method .