[ 
https://issues.apache.org/jira/browse/OFBIZ-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15461606#comment-15461606
 ] 

Deepak Dixit commented on OFBIZ-427:
------------------------------------

I think this is not an issue now, as this is already fixed under OFBIZ-1072

So we are safe, we can close this issue.

> I18N Problem when pop field in an upload type form
> --------------------------------------------------
>
>                 Key: OFBIZ-427
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-427
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>         Environment: Simple Chinese Environment
>            Reporter: Robinson Ouyang
>            Priority: Minor
>
> When I pop a field value with encoding GBK, I get wrong string, I check the 
> org.ofbiz.webapp.event.ServiceEventHandler.java, find that when pop field 
> value from multipart/form-data form, we didn't take care of the char 
> encoding, which like following:
>      multiPartMap.put(fieldName, 
> item.getString(request.getCharacterEncoding()));
> And now I change it like following:
>     try {
>         multiPartMap.put(fieldName, 
> item.getString(request.getCharacterEncoding()));
>     } catch (UnsupportedEncodingException e) {
>         multiPartMap.put(fieldName, item.getString());
>                                                       }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to