struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4420) Character encoding changes between 2.3.16 and 2.3.19
Date Sun, 16 Nov 2014 19:01:33 GMT

    [ https://issues.apache.org/jira/browse/WW-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14214008#comment-14214008
] 

Lukasz Lenart commented on WW-4420:
-----------------------------------

After investigating the issue (WW-4391) further, it isn't the best option - [ServletResponse#getCharacterEncoding()|https://docs.oracle.com/javaee/5/api/javax/servlet/ServletResponse.html#getCharacterEncoding()]
will always return {{ISO-8859-1}} if no encoding was defined :\

> Character encoding changes between 2.3.16 and 2.3.19
> ----------------------------------------------------
>
>                 Key: WW-4420
>                 URL: https://issues.apache.org/jira/browse/WW-4420
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.3.19
>            Reporter: Erik Berg
>             Fix For: 2.3.19
>
>         Attachments: testcase.tar
>
>
> By only changing the Struts version, the character encoding changes from UTF-8 in 2.3.16.3
to ISO-8859-1 in 2.3.19.
> Attaching a simple test case built with struts 2 convention archetype to illustrate the
problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message