Nevermind... I'm an idiot over thinking the basics... HTMLEditFormat()..!

hehe,
Steve

-----Original Message-----
From: Steve Reich [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 25, 2002 9:26 PM
To: CF-Talk
Subject: RE: Writing a file with CFFILE


> I'm guessing you're using MX ... Probably using setEncoding() whether you
> specify ISO latin or UTF-8 on the form scope on the action page will
resolve
> the issue... I'd likely place it in the application.cfm and apply it to
both
> form and url.


Thanks! That fixed that problem. I have another one now....

If I call a file like this...

<cffile action="READ" file="#page#" variable="output">

. then display it like this....

<textarea name="contents"><cfoutput>#output#</cfoutput></textarea>

. I run into a problem if the variable output has a textarea tag contained
within it. It sees the closing textarea tag in the output variable as the
closing tag for the textarea used to display the variable. All code after
the closing textarea is executed in the browser.

Example:

output = <textarea name="foo">This is some text</textarea><br>Then some
other stuff


<textarea name="contents'><cfoutput>#output#</cfoutput></textarea>

.equals....


<textarea name="contents'></textarea><br>Then some other stuff</textarea>

I get a textarea with this:
<textarea name="foo">This is some text

Then some other stuff. Kind of a bitch to explain. Help!


TIA,
Steve


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to