cf-talk  

RE: Reading Microsoft "smart" quotes with CFFILE

Mosh Teitelbaum
Wed, 09 Dec 2009 07:29:45 -0800

Robert:

Thanks for the reply.  I already have code to do exactly that.  The problem,
though, is that the offending characters are being converted during the
CFFILE read, *before* they get placed into a variable (i.e., before I have
an opportunity to replace them properly).

Any ideas on getting CFFILE to read them properly?

Thanks.

--
Mosh Teitelbaum
evoch, LLC
http://www.evoch.com/


Robert Harrison wrote:
> Replace them in a var before trying to do anything with them:
> #ReplaceList(trim(YOURCONTENT), "',.,"," ","'',...,"","" ")#


Mosh Teitelbaum wrote:
> I'm trying to read content from an XML file stored on disk




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329007
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4