Foreign characters in file name trigger warning message (keeping state demo)

  •  12-17-2011, 3:27 PM

    Foreign characters in file name trigger warning message (keeping state demo)

    Hi,
    When I try to upload a file with a foreign character in the file name. I get a warning. The file is uploaded (the guid name got modified) but the uploader can not get the file.size and trigger a warning :
     
    Warning: filesize() [function.filesize]: stat failed for /tmp/uploadertemp/persisted.a6135e31-f2aa-48bd-be90-cd1f5efd10d0.Iconic Légo.jpg.resx in /home/adamwang/public_html/phpfileuploader.com/demo/phpuploader/include_phpuploader.php on line 775
    Iconic Légo.jpg
       
    the windows original filename is Iconic Légo.jpg
     
    Any idea?
     
    thanks
    Filed under:
View Complete Thread