You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/05/26 11:09:17 UTC

[tomcat] branch 9.0.x updated: Add ISO-8859-16 support to CharsetCache

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 9191539  Add ISO-8859-16 support to CharsetCache
9191539 is described below

commit 919153946baa4222d77ce0c2aea688e3af6fdb3d
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue May 26 12:08:28 2020 +0100

    Add ISO-8859-16 support to CharsetCache
---
 java/org/apache/tomcat/util/buf/CharsetCache.java | 2 ++
 webapps/docs/changelog.xml                        | 9 +++++++++
 2 files changed, 11 insertions(+)

diff --git a/java/org/apache/tomcat/util/buf/CharsetCache.java b/java/org/apache/tomcat/util/buf/CharsetCache.java
index 3146d6a..4474bee 100644
--- a/java/org/apache/tomcat/util/buf/CharsetCache.java
+++ b/java/org/apache/tomcat/util/buf/CharsetCache.java
@@ -150,6 +150,8 @@ public class CharsetCache {
             "ibm-1146", "ibm-1147", "ibm-1148", "ibm-1149", "ibm-29626c", "ibm-858", "ibm-eucjp", "ibm1140", "ibm1141",
             "ibm1142", "ibm1143", "ibm1144", "ibm1145", "ibm1146", "ibm1147", "ibm1148", "ibm1149", "ibm29626c",
             "ibm858", "x-ibm29626c",
+            // Added from OpenJDK 15 ea24
+            "iso8859_16",
             // Added from HPE JVM 1.8.0.17-hp-ux
             "cp1051", "cp1386", "cshproman8", "hp-roman8", "ibm-1051", "r8", "roman8", "roman9"
             // If you add and entry to this list, ensure you run
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 1eca947..852d4a9 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -90,6 +90,15 @@
       </fix>
     </changelog>
   </subsection>
+  <subsection name="Other">
+    <changelog>
+      <update>
+        Update the list of known <code>Charset</code>s in the
+        <code>CharsetCache</code> to include <code>ISO-8859-16</code>, added in
+        OpenJDK 15. (markt)
+      </update>
+    </changelog>
+  </subsection>
 </section>
 <section name="Tomcat 9.0.35 (markt)" rtext="2020-05-11">
   <subsection name="Catalina">


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