You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2010/05/20 15:25:40 UTC

svn commit: r946623 - /incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/util/WidgetPackageUtils.java

Author: scottbw
Date: Thu May 20 13:25:40 2010
New Revision: 946623

URL: http://svn.apache.org/viewvc?rev=946623&view=rev
Log:
Ensure that we always read a config.xml file using UTF-8 encoding rather than the server default encoding.

Modified:
    incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/util/WidgetPackageUtils.java

Modified: incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/util/WidgetPackageUtils.java
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/util/WidgetPackageUtils.java?rev=946623&r1=946622&r2=946623&view=diff
==============================================================================
--- incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/util/WidgetPackageUtils.java (original)
+++ incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/util/WidgetPackageUtils.java Thu May 20 13:25:40 2010
@@ -174,7 +174,7 @@ public class WidgetPackageUtils {
 	 */
 	public static String extractManifest(ZipFile zipFile) throws IOException{
 		ZipArchiveEntry entry = zipFile.getEntry(IW3CXMLConfiguration.MANIFEST_FILE);
-		return IOUtils.toString(zipFile.getInputStream(entry));
+		return IOUtils.toString(zipFile.getInputStream(entry), "UTF-8");
 	}
 
 	/**