Re: CharacterEncoding bug in Struts2?

2008-02-15 Thread Asgaut
codingException; import java.util.Map; /** * Filter to fix utf-8 to iso-8859-1 conversion * * @author Asgaut Mjolne * @version $Revision: 1.6 $, 05.feb.2008, modified by: $Author: fiasmjol */ public class CharsetEncodingFilter implements Filter { @Override public void init(FilterConf

CharacterEncoding bug in Struts2?

2008-02-11 Thread Asgaut
I have recently been struggling with a utf-8 to ISO-8859-1 problem with Ajax and Struts2. The problem is basically that our application requires iso-8859-1 characters and Ajax is configured to only post utf-8 (ajax is utf-8 either way, can not be changed). So some kind of conversion has to take p