Properly throw UnsupportedEncodingException to caller