Cool. I will hunt around for the regex or tags. I could actually care less about the formatting, I am just searching the text for merge fields (not standard word merge fields) just certain patterns.
Thanks for the headsup on that.. if anyone knows off the top of their head where to find such regex or tags, let me know as I would be most appreciative. In the meantime, I will look. Thanks! Mike ----- Original Message ----- From: "Craig Dudley" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, July 22, 2003 10:49 AM Subject: RE: cffile (action=read) > I reckon those are word control characters, I may have seen a tag to > strip all those out somewhere or even a regex that removes everything > other than std ascii might be a possibility. > > Bear in mind that you can't totally remove all those chars if you want > the document to keeps its formatting etc. > > -----Original Message----- > From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] > Sent: 22 July 2003 15:45 > To: CF-Talk > Subject: cffile (action=read) > > > Hello. > > I am uploading a file to the server and then reading its contents into a > variable called docText. The file uploaded is a Word file but could be a > text or html document as well. Anyways, if I do > > Len(docText) I get about 90,000 or so for this particular document. When > I output docText > > #docText# > > I get a few strange characters: ÐÏࡱá > > Is there anyway to output this text so that it is readable? I do not > need to display it actually, I need to be able to parse it which seems > to work just fine on MX, but I am on CF 5 and it does not. Any ideas? > > Thanks, > > Mike > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4