Re: How to set tomcat 8.0.20 container character encoding of request and response to UTF-8 intead of ISO-8859-1

2016-02-17 Thread David kerber

On 2/16/2016 11:38 PM, Akshat Tandon wrote:

Thanks Chris for the response,

Basically we don't want to do coding around the filter as it will also
bring us an additional overhead of maintaining the code and follow the
quality process , Ideally we want say some setting to say in server.xml to
set request and response character encoding


I think what Chris is saying is that you don't need to do any coding 
with the filter, just configure it.








*Thanks and RegardsAkshat Tandon*

On Tue, Feb 16, 2016 at 8:13 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:


Akshat,

On 2/16/16 7:08 AM, Akshat Tandon wrote:

We need to set tomcat 8.0.20 container character encoding of request and
response to UTF-8 intead of ISO-8859-1 ,

  What is the setting for the same ?

  We tried setting as mentioned below ,
https://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q1 But that

requires

creating filter etc .

  Is there any elegant way where we can just change some configuration set
to make it applicable at container level ?


What, you don't like the filter already bundled with Tomcat that you can
simply configure? It really can't get any easier than that.

-chris

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: How to set tomcat 8.0.20 container character encoding of request and response to UTF-8 intead of ISO-8859-1

2016-02-16 Thread Akshat Tandon
Thanks Chris for the response,

Basically we don't want to do coding around the filter as it will also
bring us an additional overhead of maintaining the code and follow the
quality process , Ideally we want say some setting to say in server.xml to
set request and response character encoding




*Thanks and RegardsAkshat Tandon*

On Tue, Feb 16, 2016 at 8:13 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> Akshat,
>
> On 2/16/16 7:08 AM, Akshat Tandon wrote:
> > We need to set tomcat 8.0.20 container character encoding of request and
> > response to UTF-8 intead of ISO-8859-1 ,
> >
> >  What is the setting for the same ?
> >
> >  We tried setting as mentioned below ,
> > https://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q1 But that
> requires
> > creating filter etc .
> >
> >  Is there any elegant way where we can just change some configuration set
> > to make it applicable at container level ?
>
> What, you don't like the filter already bundled with Tomcat that you can
> simply configure? It really can't get any easier than that.
>
> -chris
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: How to set tomcat 8.0.20 container character encoding of request and response to UTF-8 intead of ISO-8859-1

2016-02-16 Thread Christopher Schultz
Akshat,

On 2/16/16 7:08 AM, Akshat Tandon wrote:
> We need to set tomcat 8.0.20 container character encoding of request and
> response to UTF-8 intead of ISO-8859-1 ,
> 
>  What is the setting for the same ?
> 
>  We tried setting as mentioned below ,
> https://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q1 But that requires
> creating filter etc .
> 
>  Is there any elegant way where we can just change some configuration set
> to make it applicable at container level ?

What, you don't like the filter already bundled with Tomcat that you can
simply configure? It really can't get any easier than that.

-chris

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



How to set tomcat 8.0.20 container character encoding of request and response to UTF-8 intead of ISO-8859-1

2016-02-16 Thread Akshat Tandon
We need to set tomcat 8.0.20 container character encoding of request and
response to UTF-8 intead of ISO-8859-1 ,

 What is the setting for the same ?

 We tried setting as mentioned below ,
https://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q1 But that requires
creating filter etc .

 Is there any elegant way where we can just change some configuration set
to make it applicable at container level ?


*Thanks and RegardsAkshat Tandon*