tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrico Olivelli <eolive...@gmail.com>
Subject Re: Default character encoding to be UTF-8 for 9.0.x
Date Wed, 01 Mar 2017 14:04:03 GMT
My two cents...
It would be great! The backport to 8.5 too

I always need to add some filter or some lines of code to every servlet.

Enrico

Il mer 1 mar 2017, 14:31 Mark Thomas <markt@apache.org> ha scritto:

> Servlet 4.0 adds the ability to set a default request character encoding
> and a default response character encoding in web.xml and
> programmatically. The spec allows containers to specify their own
> defaults via vendor specific config. We can do this via conf/web.xml.
>
> Therefore, I would like to propose we configure, via conf/web.xml, UTF-8
> as the default request and default response character encoding.
>
> Thoughts, comments and/or objections?
>
> Mark
>
> P.S. Because of the way this is implemented, we could do something
> similar with 8.5.x as well via conf/context.xml
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
> --


-- Enrico Olivelli

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message