return false;
}
sunWebXmlChecked = true;
PwcWebModule wm = (PwcWebModule) getContext();
String encoding = getFormHintFieldEncoding(wm);
if (encoding == null) {
encoding = wm.getDefaultCharset();
if (encoding == null && wm.hasLocaleToCharsetMapping()) {
encoding = wm.mapLocalesToCharset(getLocales());
}
}
if (encoding != null) {
try {
setCharacterEncoding(encoding);
} catch (UnsupportedEncodingException uee) {
String msg = rb.getString(
"request.unableToSetEncodingFromSunWebXml");
msg = MessageFormat.format(msg, encoding, wm.getID());
logger.log(Level.WARNING, msg, uee);
}
}
return (encoding != null);