HttpWebResponse shows junk characters in Headers C#

jaunkerr

New Member
Here is the code snippet that returns a persian language word in \[code\]Response.AddHeaders\[/code\]
XxOzP.png
and here is a code snippert that get response via \[code\]HttpWebResponse\[/code\] and shows junk characters for that persian word
yDj85.png
I'm curious why does it returns these garbage characters? And how i can rectify this issue? On my aspx page the junk text appears like this-
S4n1C.png
Please help as soon as possible...Thanks
 
Back
Top