harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From regi...@apache.org
Subject svn commit: r1001609 - /harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/FileURLConnection.java
Date Mon, 27 Sep 2010 07:42:49 GMT
Author: regisxu
Date: Mon Sep 27 07:42:49 2010
New Revision: 1001609

URL: http://svn.apache.org/viewvc?rev=1001609&view=rev
Log:
UTF-8 encoding should be used during decoding

Modified:
    harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/FileURLConnection.java

Modified: harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/FileURLConnection.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/FileURLConnection.java?rev=1001609&r1=1001608&r2=1001609&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/FileURLConnection.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/FileURLConnection.java
Mon Sep 27 07:42:49 2010
@@ -69,7 +69,7 @@ public class FileURLConnection extends U
         if (fileName == null) {
             fileName = ""; //$NON-NLS-1$
         }
-        fileName = Util.decode(fileName, false);
+        fileName = Util.decode(fileName, false, "UTF-8"); //$NON-NLS-1$
         header = new LinkedHashMap<String, String>();
     }
 



Mime
View raw message