Since a Uinicode char is just two bytes, if you can find out what two 
byte values they represent, you can still replace them.

Assuming they're 142 and 143:
replace(text, chr(142)&chr(143), '"', 'all');

Try just using asc() to get the values.

HTH

--Ben

Matthew Small wrote:
> Hi,
> 
>             One of my users pastes text into a form from his Mac word
> processor.  Quite frequently, the document contains "smart quotes" - curly
> quotes that go on each end of a string.  Apparently, some PCs have issues
> displaying these characters, so I need to know how to convert them to
> straight normal quotes.
> 
>             I am under the impression that these are Unicode characters as
> opposed to ASCII characters.  As such, I am unsure how to do a replace in CF
> - MX 6.1. I've looked in the livedocs but I don't see a function that works
> like chr() for Unicode.  What am I missing here?
> 
>  
> 
> Thank you,
> 
> Matthew Small
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194053
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to