It'd be easy to do with a small handful of regular expressions. I'm sure
someone has probably put out a UDF or something to do a decent scrubbing.
If not, we'll start one over on CF-RegEx.
:-)
-- Ben Doom
Programmer & General Lackey
Moonbow Software, Inc
: -----Original Message-----
: From: Jim McAtee [mailto:[EMAIL PROTECTED]
: Sent: Friday, August 29, 2003 3:03 PM
: To: CF-Talk
: Subject: Character Scrubbing
:
:
: We've got significant user-updatable content in which HTML is
: permitted. We
: occasionally see a problem with odd characters when a user does a
: cut & paste
: from something like Word.
:
: What is a good way to scrub these characters from the content?
: Ideally, we'll
: do this when the content is written to the db field, and may have
: to go through
: much of the data we have and correct this. For the time being,
: though, since
: we've already got a bit of content with these characters and I'd
: like to scrub
: it when it's displayed. I can replace some characters on a
: case-by-case basis
: (Word 'bullets' and right-quotes are most common) but would
: rather have a more
: general means of replacing these.
:
: Thanks,
: Jim
:
:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community.
http://www.fusionauthority.com/ads.cfm