Apostrophe en Querystring en Firefox

In my project I am passing name as a querystring. When there is an aphostrophe ' in the name it's not working in Firefox. It's working fine in IE. In Firefox it's replacing the apostrophe with ' How do I fix this problem? I know this can be fixed very easily in .net. Unfortunately my project is in ASP Classic. Any suggestions?

preguntado el 08 de noviembre de 11 a las 19:11

Passing from where to where? Server to browser? Browser to server? Via plain HTML? JavaScript? How are you determining it is being changed to ' (which is how you express ' in HTML)? How do you define "working"? -

' is one of the ways to escape the apóstrofo. Firefox is doing the correcta thing and escaping this character, IE is not. In your ASP page simply use Server.UrlDecode -

1 Respuestas

not sure if I got your question correctly, did you try using Server.URLEncode?

respondido 08 nov., 11:23

How I am going to Decode it. In Fire fox the Querystring value is encoded as '. How I am going to decode it. - Enrique

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.