1

I have a specific russian character that does not get shown correctly on my website..

The website consists of MVC 5.2.3.0 on ASP.NET version 4.5.2. The issue happens both on test server and on local iis express.. BUT This issue only happens when "debug" is set to false or removed in web.config.

the problem is that the capital "P" in russian gets transformed into a "?". Only that character. The rest is fine.

If i insert "Расширенный поиск" in any cshtml file and get the page shown in a browser it looks like: "� асширенный поиск".

If I get the same text through ajax call(non razor) and insert it in the page, it looks fine.

Anyone knowing why and how to fix it ?

  • seems character encoding problem. Hope [this](http://stackoverflow.com/questions/11516567/razor-view-character-rendered-as-%C3%82) helps. – शेखर Jun 07 '16 at 13:22
  • Tried that fix but unfortunately no dice. Even tried adding a to the web.config to try and force utf-8. Didn't work either. – Michael Kire Hansen Jun 07 '16 at 13:39

1 Answers1

0

Ended up replacing that capital "P" with a normal P since they looked the same and that did the trick.