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 -

linux - phpmyadmin, neginx error.log - Check group www-data has read access and open_basedir -