This content has been marked as final.
Show 2 replies
-
1. Re: Is there a ColdFusion version of PHP's htmlentities?
jdeline Mar 6, 2007 11:21 AM (in response to RGracia)There is a ColdFusion component called SmartType that may do what you want. Check out http://sebduggan.com/SmartType/ -
2. Re: Is there a ColdFusion version of PHP's htmlentities?
Newsgroup_User Mar 6, 2007 11:43 AM (in response to RGracia)> as we know there are several
> special characters that will need to be converted into their html entities
> before inserted to the dB.
Maybe in PHP, but not in CF. Just tell the browser to transmit UTF-8, and
your DB that it's being sent UTF-8; when you ultimately pull it back from
the DB and output it to the browser, do the reverse.
There's no need to horse around with HTML entities for this sort of thing.
--
Adam


