Click here to Skip to main content
14,934,895 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I am developer and i am using .net fileupload control to upload files in my web application. When i try to upload a file having unicode characters in its file name its characters gets changed to some question mark and zero characters.So how can i retain my unicode characters in filename while using .net fileupload control.

1 solution

The problem is related with the page encoding, so you have to add the next line in the head zone of your page:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900