You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Clinton Davidson (JIRA)" <de...@myfaces.apache.org> on 2005/12/14 01:11:45 UTC

[jira] Created: (MYFACES-944) calling UploadedFile.getSize() returns 0 on files with Chinese file names.

calling UploadedFile.getSize() returns 0 on files with Chinese file names.
--------------------------------------------------------------------------

         Key: MYFACES-944
         URL: http://issues.apache.org/jira/browse/MYFACES-944
     Project: MyFaces
        Type: Bug
  Components: Tomahawk  
    Versions: 1.1.1    
 Environment: Windows, Java 1.4.2
    Reporter: Clinton Davidson


Calling  org.apache.myfaces.custom.fileupload.UploadedFile.getSize() on the file 中文 .txt returns 0. It seems that it either mangles the file name, or is unable to find the copied file. 

Let me know if there is any special configuration required for files with double-byte file names. I don't have any trouble with standard files, or accented characters such as é

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira