I solved the problem with this method: public static String euroAdjust(String value) { if (value != null) { value = value.replaceAll("\u0080","\u20AC"); } return value; }
the param of the request is parsed with euroAdjust() and the right € euro symbol is sent to db and saved. When I read the € euro symbol from the db I have to convert like an HTML entity. If you use taglib <bean:message> it doesn't work. I modified the taglib in struts.jar: org.apache.struts.util.ResponseUtils.java public static String filter(String value) { ... // add this lines to get euro HTML entity case'\u0080': filtered = "€"; break; case'\u20AC': filtered = "€"; break; ... } -- View this message in context: http://www.nabble.com/Struts-encoding-problem---tf2104457.html#a9100705 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]