tags:

views:

9

answers:

0

Hello

I'm using .net 4 webform routing

i have a rout like this

routes.MapPageRoute("JobPreview", "jobs/{jobId}/{pg}/{Position}", "~/default.aspx")

When the position is in Latin letters there is no problem, the resulted Url is like this

"http://mydomain.com/jobs/1/1/programer"

But when the position is in Cyrillic letters, it's not displayed correctly, it's displayed like this

"http://mydomain.com/jobs/1/1/%D0%A1%D0%B5%D1%80"

I tried server.urlencode but no success.

how to get the Cyrillic letters displayed correctly?

I've see other websites displaying it correctly, so there is a way, but how?

Any help will be appreciated

Thanks in advance