jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r355112 - /incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/server/io/DefaultHandler.java
Date Thu, 08 Dec 2005 15:09:59 GMT
Author: angela
Date: Thu Dec  8 07:09:53 2005
New Revision: 355112

URL: http://svn.apache.org/viewcvs?rev=355112&view=rev
Log:
retrieve charset from jcr:encoding property only (never guess)

Modified:
    incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/server/io/DefaultHandler.java

Modified: incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/server/io/DefaultHandler.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/server/io/DefaultHandler.java?rev=355112&r1=355111&r2=355112&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/server/io/DefaultHandler.java
(original)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/server/io/DefaultHandler.java
Thu Dec  8 07:09:53 2005
@@ -399,7 +399,7 @@
             }
 
             String mimeType = null;
-            String encoding = "UTF-8"; // assume default encoding
+            String encoding = null;
             if (contentNode.hasProperty(JcrConstants.JCR_MIMETYPE)) {
                 mimeType = contentNode.getProperty(JcrConstants.JCR_MIMETYPE).getString();
             }



Mime
View raw message