Hi Jacopo, year right, ups. The Widget Worker sneaked in the commit list ;-)

2012/4/19 Jacopo Cappellato <[email protected]>:
> Hi Sascha,
>
> is this the right way to fix the test?
>
> Jacopo
>
> On Apr 19, 2012, at 7:58 AM, [email protected] wrote:
>
>> 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=1327835&r1=1327834&r2=1327835&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 05:58:29 2012
>> @@ -379,10 +379,14 @@ public class WidgetWorker {
>>                     returnValue = df.format((java.util.Date) retVal);
>>                 } else {
>>                     try {
>> -                        returnValue = URLEncoder.encode(retVal.toString(), 
>> Charset.forName("UTF-8").displayName());
>> +                        returnValue = URLEncoder.encode(retVal.toString(), 
>> Charset.forName("ISO-8859-1").displayName());
>>                     } catch (UnsupportedEncodingException e) {
>>                         Debug.logError(e, module);
>>                     }
>> +
>> +                    //StringUtil.SimpleEncoder simpleEncoder = 
>> (StringUtil.SimpleEncoder) context.get("simpleEncoder");
>> +                    //returnValue = simpleEncoder.encode(retVal.toString());
>> +
>>                 }
>>                 return returnValue;
>>             } else {
>>
>



-- 

Sascha Rodekamp
    Visit the new german OFBiz Blog: http://www.ofbiz.biz
    Lynx-Consulting GmbH
    Johanniskirchplatz 6
    D-33615 Bielefeld
    http://www.lynx.de

Reply via email to