Unfortunately, this means the string gets encoded twice which is just
wasteful considering all that's really needed is to escape the quote
character.
Also, the value may contain multibyte characters (Shift_JIS, for example)
and the JavaScript escape() function uses an encoding that is incompatible
with URL encodinig for multibyte characters so you end up having to write
the encoder from scratch is which seems wastefull again since I all that's
really needed to escape the damn quote character.
Anyone know of a good HTML mailing list?
> -----Original Message-----
> From: Jon Stevens [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 12, 2001 8:21 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OFF TOPIC] HTML question
>
>
> on 1/12/01 6:12 PM, "Marc Saegesser" <[EMAIL PROTECTED]> wrote:
>
> > There must be something simple that I'm missing.
>
> URL encode it.
>
> -jon
>
> --
> Honk if you love peace and quiet.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]