What I understand from the documentation is that UnsupportedEncodingException can only be thrown if I specify a wrong encoding as the second parameter to URLDecoder.decode(S
In your special case - no, it won't be thrown. Unless you execute your code in a Java runtime that does not support "UTF-8".