I have a form where people enter information into a database and it's  
displayed on a web page.  We all do, I'm sure.  Often times people  
paste the text in from whatever source they receive it from, often MS  
Word docs, but really anything.  Because of this, I often receive  
characters that don't display well and are either a box or a box with  
an X in it.  I'd like to clean this text on the way in.

I'd like some advice on how to go about this.  Should not allow any  
ascii values above 127 or try and gather a list of bad characters and  
change them into known good characters (curly quotes into straight  
quotes for example)?  I'm sure this isn't a new question, so how do  
you go about it?  I didn't see anything in the archives but I am not  
a good searcher.  Is there maybe a CFC that already does this (and is  
free!)?

thanks for any assistance.

_____________________________

Daniel Kessler

College of Health and Human Performance
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
Phone: 301-405-2545
http://hhp.umd.edu




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:228274
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