display non english character in textbox

DeMoNiaC

New Member
i want to display some non english characters in a textbox.i am trying with\[code\]$("#txtSearch").val('<%:Html.Raw(ViewBag.my_search)%>')\[/code\]It should display '2100 - K?benhavn ?' but it is displaying '2100 - K??benhavn ??'.my controller reading this value from cookie and assigning it in a ViewBag. In the controller i have \[code\]ViewBag.my_search = cookie.Value // here it is assigning the right danish word but when it displays inside the input box, it just displays wrong.\[/code\]any idea how to solve this??EDIT:Well, it is working good in my local pc, but when I host it into some remote hosting provider, it does not perform good.
 
Back
Top