problem with passing string with special character

B

Bob

Hi,

I want to pass a string with a special character (ê).
The problem is that the starting string "enquête" arrives as "enqu".

Why is this and how to solve that?
Thanks
Bob

Dim enqna As String
enqna = "enquête"
Response.Redirect(String.Format("next.aspx?Item0={0}", enqna))

next.aspx:
 
B

bruce barker

uri's (url) only support a subset of ascii, no international characters. you
will to urlencode the characters, and be sure to use the correct encoding on
the decode side. see HttpUtility.UrlEncode

also see:

ftp://ftp.isi.edu/in-notes/rfc2396.txt


-- bruce (sqlwork.com)
 
B

Bob

Thanks

bruce barker said:
uri's (url) only support a subset of ascii, no international characters.
you
will to urlencode the characters, and be sure to use the correct encoding
on
the decode side. see HttpUtility.UrlEncode

also see:

ftp://ftp.isi.edu/in-notes/rfc2396.txt


-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top