Author: sascharodekamp
Date: Thu Apr 19 06:30:36 2012
New Revision: 1327839
URL:
http://svn.apache.org/viewvc?rev=1327839&view=revLog:
Revert 1327835: accidently committed file WidgetWorker.java
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/WidgetWorker.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/WidgetWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/WidgetWorker.java?rev=1327839&r1=1327838&r2=1327839&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/WidgetWorker.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/WidgetWorker.java Thu Apr 19 06:30:36 2012
@@ -379,14 +379,10 @@ public class WidgetWorker {
returnValue = df.format((java.util.Date) retVal);
} else {
try {
- returnValue = URLEncoder.encode(retVal.toString(), Charset.forName("ISO-8859-1").displayName());
+ returnValue = URLEncoder.encode(retVal.toString(), Charset.forName("UTF-8").displayName());
} catch (UnsupportedEncodingException e) {
Debug.logError(e, module);
}
-
- //StringUtil.SimpleEncoder simpleEncoder = (StringUtil.SimpleEncoder) context.get("simpleEncoder");
- //returnValue = simpleEncoder.encode(retVal.toString());
-
}
return returnValue;
} else {