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:11:26 UTC

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


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

commit 89b0bf557513d6b6f18f814181cff4fbb3d3fc47
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                        | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/java/org/apache/tomcat/util/buf/CharsetCache.java b/java/org/apache/tomcat/util/buf/CharsetCache.java
index d41c92f..1220fa0 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 4c43208..b7ca9b1 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -82,6 +82,11 @@
       <fix>
         Use Apache archives when downloading commons-logging dependency. (violetagg)
       </fix>
+      <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>


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