I want characters like ‘ø’ to be printed directly, but in the source ‘ø’ shows up as ø
If the output goes through Html.Encode() it won’t render the correct character, but ø
in the config I have
<globalization
fileEncoding="utf-8"
requestEncoding="utf-8"
responseEncoding="utf-8"
culture="nb-NO"
uiCulture="nb-NO"
/>
Source:
<li><%: Html.ActionLink("Støvletter", "ListProducts", "Tag", new { tag = "Stovletter" }, null)%></li>
This outputs:
<li><a href="/Tag/Stovletter">Støvletter</a></li>
But output should look like:
<li><a href="/Tag/Stovletter">Støvletter</a></li>
You could try to create output with
<%=instead of html encoded<%:(I post this after your positive comment to my comment)