Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.
The "Tomcat/UTF-8" page has been changed by JuanGarcia. The comment on this change is: Properly propagate the exception if there is a dangerous misconfiguration. http://wiki.apache.org/tomcat/Tomcat/UTF-8?action=diff&rev1=12&rev2=13 -------------------------------------------------- } catch(UnsupportedEncodingException e) { + throw new RuntimeException(e); - // TODO: This should never happen. The UnsupportedEncodingException - // should be propagated instead of swallowed. This error would indicate - // a severe misconfiguration of the JVM. - - // As we can't translate just send back the best guess. - System.out.println("UnsupportedEncodingException is: " + - e.getMessage()); - utf8String = isoString; } } else --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org