views:

21

answers:

1

I'm using Response.Redirect to redirect users to some user specified urls.

The "problem" arises as users specifies urls as www.æøå.dk, which is a legal url, but is encoded as the following by Response.Redirect:

www.%c3%a6%c3%b8%c3%a5.dk - since æøå is considered special characters. Is there any way to allow æøå not to be encoded?

A: 

Such a domain is called an IDN. You may get further using System.Uri. There is a section called "International Resource Identifier Support" on that page.

Sjoerd