0

I'm building project with .Net MVC and jQuery. The text i want to set as title comes from my resources file. But it can't show spesical characters.

Here is how i set it:

    @if (Model.ConfigService.Current.Customer.ShowOrdinaryTimeScore) {                
        <text>
            $(".match_time .time_played").html('@SharedStrings.MatchResultShort');
            $(".match_time .time_played").attr("title", "@SharedStrings.FullTimeResult");
        </text>
    }

SharedStrings.FullTimeResult contains a "Ç" character. And my html becomes:

<h3 class="time_played" title="'Ma&amp;#231; Sonucu">MS</h3>

as you can see my Ç character has become

&#231;

How can i fix this?

erkan demir
  • 1,337
  • 4
  • 18
  • 35

0 Answers0