Re: Correct way of setting charset

2010-07-04 Thread Sigmar Muuga
Don't know that if is it the most correct way or not, but it works. My dotted letters are now working. But this option applies only to markup? What about other content(like JSON)? Sigmar On Sun, Jul 4, 2010 at 7:31 PM, Antoine van Wel wrote: > Maybe this is what you need, in your WebApplication'

Re: Correct way of setting charset

2010-07-04 Thread Antoine van Wel
Maybe this is what you need, in your WebApplication's init method : getMarkupSettings().setDefaultMarkupEncoding("UTF-8"); On Fri, Jul 2, 2010 at 9:29 AM, Sigmar Muuga wrote: > Hello, > what is the correct way of setting my pages charset? > > I did something like this and it didnt have any e

Correct way of setting charset

2010-07-02 Thread Sigmar Muuga
Hello, what is the correct way of setting my pages charset? I did something like this and it didnt have any effect: @Override protected void configureResponse() { super.configureResponse(); final String encoding = "text/" + getMarkupType() + "; charset=UTF-8"; getResponse().setContentType(encoding