This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.0.x by this push:
     new b767db4dc2 Revert the ja <-> Shift_JIS mapping
b767db4dc2 is described below

commit b767db4dc235211a7588b9ef164f0946b67fdb84
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Apr 28 19:26:24 2022 +0100

    Revert the ja <-> Shift_JIS mapping
---
 java/org/apache/catalina/util/CharsetMapperDefault.properties | 1 -
 webapps/docs/changelog.xml                                    | 6 ++++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/util/CharsetMapperDefault.properties 
b/java/org/apache/catalina/util/CharsetMapperDefault.properties
index d438bcf71e..6f8bf49493 100644
--- a/java/org/apache/catalina/util/CharsetMapperDefault.properties
+++ b/java/org/apache/catalina/util/CharsetMapperDefault.properties
@@ -15,4 +15,3 @@
 
 en=ISO-8859-1
 fr=ISO-8859-1
-ja=Shift_JIS
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 9d9790269c..0b7fc3d8f3 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -118,6 +118,12 @@
         retrieve a certificate DN, to match the output of the deprecated
         <code>getSubjectDN().getName()</code> that was used previously. (remm)
       </fix>
+      <add>
+        Revert the change in 10.0.17 that added a mapping of
+        <code>Shift_JIS</code> for the <code>ja</code> locale to the default
+        mappings used by <code>ServletResponse.setLocale()</code> as it
+        caused regressions for applications using UTF-8. (markt)
+      </add>
     </changelog>
   </subsection>
   <subsection name="Coyote">


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

Reply via email to