[ 
https://issues.apache.org/jira/browse/TOBAGO-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543525
 ] 

Helmut Swaczinna commented on TOBAGO-540:
-----------------------------------------

I've added -Dfile.encoding=utf-8 to the Tomcat command line but with no effect.

To solve the problem I added this workaround to my code:

filename = new String(fileItem.getName().getBytes(), "utf-8");

> Incorrect character set conversion in file upload
> -------------------------------------------------
>
>                 Key: TOBAGO-540
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-540
>             Project: MyFaces Tobago
>          Issue Type: Bug
>    Affects Versions: 1.0.12, 1.0.13
>         Environment: Windows (Linux?)
>            Reporter: Helmut Swaczinna
>            Priority: Minor
>
> When you upload a file with the tc:file tag with umlauts in the filename the 
> umlauts are not converted
> correctly when you request the filename with FileItem.getName(). 
> For example ü is converted to ü.
> I use utf-8 in my pages.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to