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:08:48 UTC

[tomcat] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 7e52e77  Add ISO-8859-16 support to CharsetCache
7e52e77 is described below

commit 7e52e77653fc0ea1f409ea949a462e581a2b3776
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 d1f3d7d..6927e4c 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -91,6 +91,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 10.0.0-M5 (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