<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6.1 - htmldocs - funct116.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-26T02:30:06</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#52675" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#52609" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#37806" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#31855" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#30083" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#29066" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#27200" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#15014" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#52675">
		<title>coldfusion/6.1/htmldocs/funct116.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#52675</link>
		<description>This script, which you could write to a function (its currently a custom tag) allows you to convert any values you wish to an ASCII version that HTML browsers can read. This will cover the question about single quotes where as the current HTMLEditFormat function does not allow that.&lt;br /&gt;&lt;br /&gt;&lt;cfSilent&gt;&lt;br /&gt;&lt;br /&gt;	&lt;cfParam name=&quot;attributes.value&quot; default=&quot;&quot;&gt;&lt;br /&gt;	&lt;cfParam name=&quot;attributes.convert&quot; default=&quot;&quot;&quot; &lt; &gt;&quot;&gt;&lt;br /&gt;	&lt;br /&gt;	&lt;cfLoop list=&quot;#attributes.convert#&quot; index=&quot;iConvert&quot; delimiters=&quot; &quot;&gt;&lt;br /&gt;		&lt;cfSet attributes.value = Replace(attributes.value,iConvert,&quot;&amp;###ASC(iConvert)#;&quot;,&quot;all&quot;)&gt;&lt;br /&gt;	&lt;/cfLoop&gt;&lt;br /&gt;&lt;br /&gt;&lt;/cfSilent&gt;&lt;cfOutput&gt;#attributes.value#&lt;/cfOutput&gt;</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-09-07T05:17:33</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#52609">
		<title>coldfusion/6.1/htmldocs/funct116.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#52609</link>
		<description>This is what HTMLEditFormat(s) does:&lt;br /&gt;It substitutes the following fives chars with theses strings.&lt;br /&gt;13 (CR) -&gt; (empty String)&lt;br /&gt;34 &quot; -&gt; &amp;quot;&lt;br /&gt;38 &amp; -&gt; &amp;amp;&lt;br /&gt;60 &lt; -&gt; &amp;lt;&lt;br /&gt;62 &lt; -&gt; &amp;gt;</description>
		<dc:creator>alex@inspiracio.com</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-09-06T04:36:01</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#37806">
		<title>coldfusion/6.1/htmldocs/funct116.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#37806</link>
		<description>@ No screen name: But that's what JSStringFormat() is for. Both HTML and JS escape their special characters in different ways. It wouldn't pay--in fact, it'd be harmful--to conflate the two.</description>
		<dc:creator>hereticmessiah</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-07-22T11:52:34</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#31855">
		<title>coldfusion/6.1/htmldocs/funct116.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#31855</link>
		<description>I love this feature... just came in SO handy (trying to edit something with double-quotes in the form field). I didn't use a version numer though...</description>
		<dc:creator>lther</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-04-19T13:22:53</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#30083">
		<title>coldfusion/6.1/htmldocs/funct116.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#30083</link>
		<description>.jeff - there are many reasons when utilizing coldfusion and javascript to need to escape the single quotes.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-03-17T11:04:43</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#29066">
		<title>coldfusion/6.1/htmldocs/funct116.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#29066</link>
		<description>So write your own UDF that escapes the characters &lt;strong&gt;you&lt;/strong&gt; want it to escape.  That's the power of CF.&lt;br /&gt;&lt;br /&gt;As single-quotes aren't considered special characters, I fail to see the reason to replace them.  Moreover, we didn't even have an appropriate HTML character entity reference until XHTML 1.0.  The only possible reason I could see is if you're using single quotes as attribute qualifiers in your (X)HTML in which case you should probably seriously reconsider that as best practice dictates that you use double-quotes, for a myriad of reasons.</description>
		<dc:creator>.jeff</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-03-04T17:11:45</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#27200">
		<title>coldfusion/6.1/htmldocs/funct116.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#27200</link>
		<description>How about processing single quotes, huh? This function is useless, &lt;br /&gt;rubbish!</description>
		<dc:creator>simeonhristov_23</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-01-28T11:50:51</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#15014">
		<title>coldfusion/6.1/htmldocs/funct116.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct116.htm#15014</link>
		<description>The version is not working with the HTMLCodeFormat.&lt;br /&gt;I tried htmleditformat(temp), 'HTML 3.2')&lt;br /&gt;htmleditformat(temp), '3.2')&lt;br /&gt;htmleditformat(temp), '2.0') &lt;br /&gt;without success.</description>
		<dc:creator>lhoess</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-05-18T16:19:54</dc:date>
	</item>
	</rdf:RDF>

