ASP.NET MVC URL decode

Posted by Bryan on Stack Overflow See other posts from Stack Overflow or by Bryan
Published on 2010-04-09T18:34:15Z Indexed on 2010/04/09 18:43 UTC
Read the original article Hit count: 567

Filed under:
|
|
|

I have an action like this:

<%=Html.ActionLink("My_link", "About", "Home", new RouteValueDictionary { 
    { "id", "Österreich" } }, null)%>

This produces the following link: http://localhost:1855/Home/About/%C3%96sterreich

I want a link which looks like this - localhost:1855/Home/About/Österreich

I have tried.

Server.HtmlDecode("Österreich")
HttpUtility.UrlDecode("Österreich") 

Neither seems to be helping. What else can I try to get my desired result?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about mvc