Jeff
Member since Dec 11, 2008
- Profile: /members/751-jeff.htm
- Comments: 3
Recent Blog Comments By Jeff
-
Cleaning High Ascii Values For Web Safeness In ColdFusion
Posted on Feb 14, 2008 at 2:05 PM
@Gareth, That would definitely be much cleaner, and easier to read/add to. Thanks.... read more »
-
Cleaning High Ascii Values For Web Safeness In ColdFusion
Posted on Feb 14, 2008 at 10:00 AM
@Ben, I still think it's bad to be doing *that* many replaces, but for my needs it works (seems to perform well/quickly). The replaceAscii() just gets rid of the chars completely, which is probably worse than what your doing... I usually just call this function (which uses the 2 other functions I... read more »
-
Cleaning High Ascii Values For Web Safeness In ColdFusion
Posted on Feb 14, 2008 at 9:29 AM
I wrote these 2 functions for this similar problem. (not sure if they will paste correctly or not): <samp> <cffunction name="replaceNonAscii" returntype="string" output="false"> <cfargument name="argString" type="string" default="" /> <cfreturn REReplace(arguments.argString,... read more »