FYI, there's JSStringFormat() that escapes strings for safe use in javascript.

> -----Original Message-----
> From: Giles Roadnight [mailto:[EMAIL PROTECTED]]
> Sent: 11 December 2002 12:26
> To: [EMAIL PROTECTED]
> Subject: Re: [ cf-dev ] OT: Characters in Javascript.
> 
> 
> It didn't but I've found the problem. It was a problem with 
> the encoding. I
> have changed it now and � works fine. Thanks for the help.
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 11, 2002 12:10 PM
> Subject: Re: [ cf-dev ] OT: Characters in Javascript.
> 
> 
> 
> does &#163; work?
> 
> 
> Duncan Cumming
> IT Manager
> 
> http://www.alienationdesign.co.uk
> mailto:[EMAIL PROTECTED]
> Tel: 0141 575 9700
> Fax: 0141 575 9600
> 
> Creative solutions in a technical world
> 
> ----------------------------------------------------------------------
> Get your domain names online from:
> http://www.alienationdomains.co.uk
> Reseller options available!
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> 
> 
> 
>                     "Giles
>                     Roadnight"           To:
> <[EMAIL PROTECTED]>
>                     <giles@roadni        cc:
>                     ght.name>            Subject:     [ cf-dev ] OT:
> Characters in Javascript.
> 
>                     12/11/02
>                     11:56 AM
>                     Please
>                     respond to
> 
>                     dev
> 
> 
> 
> 
> 
> Hi
> 
> Sorry for the off topic post, hopefully this is a quickie.
> 
> How do I get a pound sign to appear in a Javascript Confirm or alert
> dialogue. I have tried just � but I get a capital J. I have also tried
> &pound; but then I get the appearing in the text. \� also gives me J.
> 
> Thanks
> 
> Giles
> 
> 
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 
> 

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to