Problem in saving aspx file with encoding
-
19-09-2019 - |
Question
I am developing a web application in Arabic. For that I convert existing pages in English to Arabic and save the file with encoding.
But when I restarted Visual Studio all the arabic characters are changed to '?'.
What might have caused this?
Any help will be appreciated.
Thanks
Solution
This may be an issue of character-encoding.
You can try adding this to your header:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
or set your document encoding to 8859-6
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow