Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WindowsAzure html utf-8 encoding issue

I have an Arabic ASP.NET MVC4 website with UTF-8 encoding.

I have declared the encoding as UTF-8 in html layout header and have tried to set globalization settings in web.config.

but when I publish in windows azure. some of the text appears in Arabic characters while others appears in weird characters.

In localhost all the text is Arabic.

To give a live example take a look at the front page: http://alqalam.azurewebsites.net and look at the top left text. You can also look at http://alqalam.azurewebsites.net/Account/Login

both links show how some characters are displayed in Arabic and others aren't.

Thank you.

like image 313
ZainAlabdin Avatar asked Jul 16 '26 22:07

ZainAlabdin


1 Answers

can you try adding ?

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

Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!