You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Anna Simbirtsev <as...@gmail.com> on 2011/08/22 16:39:34 UTC

modal page encoding

Hi,

Encoding issue in Wicket:
we want to change encoding from "utf-8" to "iso-8859-01", after adding the
following codes in application, it works for page, but doesn't work with
modal page, which is still using 'utf-8' encoding.

getRequestCycleSettings().setResponseRequestEncoding("iso-8859-1");
getMarkupSettings().setDefaultMarkupEncoding("iso-8859-1");

Re: modal page encoding

Posted by Bruno Borges <br...@gmail.com>.
We work with projects based on Portuguese and we are having some problems
because of that too. It seems that it is easier to just use UTF-8 instead of
ISO.


*Bruno Borges*
(21) 7672-7099
*www.brunoborges.com*



On Mon, Aug 22, 2011 at 1:01 PM, Martin Grigorov <mg...@apache.org>wrote:

> W3C requires UTF-8
>
> On Mon, Aug 22, 2011 at 6:56 PM, Anna Simbirtsev <as...@gmail.com>
> wrote:
> >  it seems that Ajax form processing should always be encoded in UTF-8, is
> > there alternative way to let Ajax form processing using 'iso-8859-1'
> except
> > changing wicket-ajax.js
> >
> > On Mon, Aug 22, 2011 at 10:51 AM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
> >
> >> disable your browser caches
> >> or give more details what exactly is the problem
> >>
> >> On Mon, Aug 22, 2011 at 5:39 PM, Anna Simbirtsev <asimbirtsev@gmail.com
> >
> >> wrote:
> >> > Hi,
> >> >
> >> > Encoding issue in Wicket:
> >> > we want to change encoding from "utf-8" to "iso-8859-01", after adding
> >> the
> >> > following codes in application, it works for page, but doesn't work
> with
> >> > modal page, which is still using 'utf-8' encoding.
> >> >
> >> > getRequestCycleSettings().setResponseRequestEncoding("iso-8859-1");
> >> > getMarkupSettings().setDefaultMarkupEncoding("iso-8859-1");
> >> >
> >>
> >>
> >>
> >> --
> >> Martin Grigorov
> >> jWeekend
> >> Training, Consulting, Development
> >> http://jWeekend.com
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
> >
> > --
> > Anna Simbirtsev
> > (416) 729-7331
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: modal page encoding

Posted by Martin Grigorov <mg...@apache.org>.
W3C requires UTF-8

On Mon, Aug 22, 2011 at 6:56 PM, Anna Simbirtsev <as...@gmail.com> wrote:
>  it seems that Ajax form processing should always be encoded in UTF-8, is
> there alternative way to let Ajax form processing using 'iso-8859-1' except
> changing wicket-ajax.js
>
> On Mon, Aug 22, 2011 at 10:51 AM, Martin Grigorov <mg...@apache.org>wrote:
>
>> disable your browser caches
>> or give more details what exactly is the problem
>>
>> On Mon, Aug 22, 2011 at 5:39 PM, Anna Simbirtsev <as...@gmail.com>
>> wrote:
>> > Hi,
>> >
>> > Encoding issue in Wicket:
>> > we want to change encoding from "utf-8" to "iso-8859-01", after adding
>> the
>> > following codes in application, it works for page, but doesn't work with
>> > modal page, which is still using 'utf-8' encoding.
>> >
>> > getRequestCycleSettings().setResponseRequestEncoding("iso-8859-1");
>> > getMarkupSettings().setDefaultMarkupEncoding("iso-8859-1");
>> >
>>
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> --
> Anna Simbirtsev
> (416) 729-7331
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: modal page encoding

Posted by Anna Simbirtsev <as...@gmail.com>.
 it seems that Ajax form processing should always be encoded in UTF-8, is
there alternative way to let Ajax form processing using 'iso-8859-1' except
changing wicket-ajax.js

On Mon, Aug 22, 2011 at 10:51 AM, Martin Grigorov <mg...@apache.org>wrote:

> disable your browser caches
> or give more details what exactly is the problem
>
> On Mon, Aug 22, 2011 at 5:39 PM, Anna Simbirtsev <as...@gmail.com>
> wrote:
> > Hi,
> >
> > Encoding issue in Wicket:
> > we want to change encoding from "utf-8" to "iso-8859-01", after adding
> the
> > following codes in application, it works for page, but doesn't work with
> > modal page, which is still using 'utf-8' encoding.
> >
> > getRequestCycleSettings().setResponseRequestEncoding("iso-8859-1");
> > getMarkupSettings().setDefaultMarkupEncoding("iso-8859-1");
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Anna Simbirtsev
(416) 729-7331

Re: modal page encoding

Posted by Martin Grigorov <mg...@apache.org>.
disable your browser caches
or give more details what exactly is the problem

On Mon, Aug 22, 2011 at 5:39 PM, Anna Simbirtsev <as...@gmail.com> wrote:
> Hi,
>
> Encoding issue in Wicket:
> we want to change encoding from "utf-8" to "iso-8859-01", after adding the
> following codes in application, it works for page, but doesn't work with
> modal page, which is still using 'utf-8' encoding.
>
> getRequestCycleSettings().setResponseRequestEncoding("iso-8859-1");
> getMarkupSettings().setDefaultMarkupEncoding("iso-8859-1");
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org