Special characters in html output

前端 未结 3 822
既然无缘
既然无缘 2021-01-03 10:52

I want characters like \'ø\' to be printed directly, but in the source \'ø\' shows up as ø

If the output goes through Html.Encode()

3条回答
  •  既然无缘
    2021-01-03 10:57

    You could try to create output with <%= instead of html encoded <%:

    (I post this after your positive comment to my comment)

提交回复
热议问题