Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

AjaxFileUpload corrupt files if the file name contains Arabic text !

$
0
0

After uploading so many files using AjaxFileUpload , I noticed all files uploaded to the server are corrupted.  The error message I get is "Excel can not open the file عربي.xlsx because the fileformat or the file extention is not valid".

If I change the file name from (عربي.xlsx) to (arabic.xlsx) and reupload the file then the file works!

more strange than that is when I tried to upload empty text file with arabic name and when I opened the file , the file opened correctly , but I found letter "n" in the content of the file which I didn't add in the first place !

Can someone explain how I can resolve this issue ? Thank you


Viewing all articles
Browse latest Browse all 5678

Trending Articles