You haven't explained how you are encoding the URL via Javascript. Whatever that method is, it appears to be incorrectly encoding the Pound symbol. The encoded value of the symbol should be "%C2%A3".
I would suggest that you use the encodeURI() built-in function in Javascript. On Mar 5, 3:23 pm, graphicsxp <[email protected]> wrote: > Hello, > > I'm passing the following string in my querystring : "test & test £" > and I encode the string in javascript so that the server receives : > test%20%26%20test%20%A3 > > All is fine but when I use Server.UrlDecode in my server code, the > string is decoded as : "test & test 'square' " > > in place of square, it is an actual square shape, like the %A3 bit was > not decoded properly to a £ sign. > > What am I doing wrong ? > > Thank you
