It's probably using the smart quote from word.  I can't remember what
charcode it is (somewhere in the 8,000 range), but if you copy and paste it
into a text field, and the loop over the text field's value on submit and
use asc() to output the charcode of each character, it's a snap to figure
out.

<cfoutput>
<cfloop from="1" to="#len(myString)#" index="i">
#mid(myString, i, 1)# - #asc(mid(myString, i, 1))#<br />
</cfloop>
</cfoutput>

> -----Original Message-----
> From: Jake McKee [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 02, 2004 9:56 AM
> To: CF-Talk
> Subject: Replacing apstrophe from IE copy/paste
>
> Help!
>
>  
>
> I have HTML textarea I use to post info to my blog. If I copy/paste
> content from Web pages and the content includes the single quote
> apostrophe mark, it shows up in my form field as the square
> character. I
> want to do replace for this character, but I can't seem to find the
> ASCII code for it. The normal apostrophe char(39) doesn't work, so I'm
> guess that maybe IE is using a special one?
>
> Any ideas?
>
>
>
> Thanks!
> Jake
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to