Hi~
In razor page:
var t1 = "@("测试")"; var t2 = "@(Html.Raw("测试"))";
In the above ,why the Chinese characters will auto convert to Unicode characters when render ?
Here's the result
var t1 = "测试"; var t2 = "测试";
In asp.net (not core) , the razor page will render "测试" ,i don't want to always use Html.Raw , that's not security for user's input.
Plz help me to resolve this issue.
Thanks