pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1669004 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/util/Charsets.java
Date Tue, 24 Mar 2015 22:01:59 GMT
Author: tilman
Date: Tue Mar 24 22:01:59 2015
New Revision: 1669004

URL: http://svn.apache.org/r1669004
Log:
PDFBOX-2576: define more common charsets

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/util/Charsets.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/util/Charsets.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/util/Charsets.java?rev=1669004&r1=1669003&r2=1669004&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/util/Charsets.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/util/Charsets.java Tue Mar 24 22:01:59
2015
@@ -20,7 +20,7 @@ package org.apache.pdfbox.util;
 import java.nio.charset.Charset;
 
 /**
- * Utility class providing common Charsets used in PDF.
+ * Utility class providing common Charsets used in PDFBox.
  *
  * @author John Hewson
  */
@@ -36,4 +36,10 @@ public final class Charsets
 
     /*** UTF-16LE charset */
     public static final Charset UTF_16LE = Charset.forName("UTF-16LE");
+    
+    /*** ISO-8859-1 charset */
+    public static final Charset ISO_8859_1_CHARSET = Charset.forName("ISO-8859-1");
+    
+    /*** UTF-8 charset */
+    public static final Charset UTF_8_CHARSET = Charset.forName("UTF-8");
 }



Mime
View raw message