views:

14

answers:

1

Hi,

<a href="<%=Url.Action("Search","Home",new{ value = "Şiir" }) %>">Şiir</a>

domain/Search/%C5%9Eiir How can I convert it to utf-8?

domain/Search/Şiir

A: 

Html helpers will always URL encode the values to avoid dangerous characters from breaking the routes. So you could either write a custom helper or hardcode it.

Darin Dimitrov