c# - Encode error in while showing data -


when tried show data in view data rendered wrong. data:

 "kn\326" 

and output :

knÖ  

the data coming via viewbag.

the way escape " \ ", since \xxx special char

before "printing" on screen, juste apply regex on string ( "s/\/\\/g" correct regex, i'm not sure)


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

postgresql - how to get points from linestring postgis -

powershell - "Invalid JSON primitive" error when converting JSON file -