Page 1 of 1

Download file name contains "5C"-byte

Posted: Thu Jan 12, 2012 8:49 am
by truongvu
Hello, Can you give me advice for below case.

I download a file contains 5C character .
Download files whose name contains "5C"-byte is overwritten without confirm dialog.
I am using Japanese locale , Symfony PHP .
When using Japanese locale , I can not download file with normal Japanese as "C:\data\全表示.pdf"
So i have to use function mb_convert_encoding() to encode Japanese char to Shift_Jis
Example: 全表示.pdf -> �S�\��.pdf
--> Return url when i download file is "C:\data\�S�\��.pdf" ( with "\" is 5C character )
My current matter is download Ok ( by using temp file ), not confirm overwrite with exists file on server.
Using version Jfiledownload 2.9
Thank you any help