<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WordPress Breaks Copy-Paste</title>
	<atom:link href="http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste/feed" rel="self" type="application/rss+xml" />
	<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste</link>
	<description>Alex King, Denver Web Developer</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:02:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: OmegaMan</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-56471</link>
		<dc:creator>OmegaMan</dc:creator>
		<pubDate>Thu, 31 May 2007 18:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-56471</guid>
		<description>Upon further digging I found this old plugin that works with 2.2 currently wpuntexturize at http://www.coffee2code.com/archives/2004/06/27/plugin-wpuntexturize/</description>
		<content:encoded><![CDATA[<p>Upon further digging I found this old plugin that works with 2.2 currently wpuntexturize at <a href="http://www.coffee2code.com/archives/2004/06/27/plugin-wpuntexturize/" rel="nofollow">http://www.coffee2co[...]untexturize/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OmegaMan</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-56469</link>
		<dc:creator>OmegaMan</dc:creator>
		<pubDate>Thu, 31 May 2007 17:09:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-56469</guid>
		<description>I am having similar issues with copy and paste off of my blog. I don&#039;t care about the rss feeds at this time...but what is the resolution to not have the PHP output the smart quotes using the lates 2.2? Thanks.</description>
		<content:encoded><![CDATA[<p>I am having similar issues with copy and paste off of my blog. I don&#8217;t care about the rss feeds at this time&#8230;but what is the resolution to not have the PHP output the smart quotes using the lates 2.2? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Swamp &#187; Blog Archive &#187; Wordpress</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-8464</link>
		<dc:creator>The Swamp &#187; Blog Archive &#187; Wordpress</dc:creator>
		<pubDate>Thu, 06 Oct 2005 15:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-8464</guid>
		<description>[...] Here&#8217;s another article about WordPress misadventures: WordPress Breaks Copy-Paste [...]</description>
		<content:encoded><![CDATA[<p>[...] Here&#8217;s another article about WordPress misadventures: WordPress Breaks Copy-Paste [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Curbo's Weblog</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-5654</link>
		<dc:creator>James Curbo's Weblog</dc:creator>
		<pubDate>Sat, 11 Jun 2005 10:04:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-5654</guid>
		<description>&lt;strong&gt;Wordpress wptexturize removal hack&lt;/strong&gt;

	I wrote a plugin to remove smart quotes.

...</description>
		<content:encoded><![CDATA[<p><strong>WordPress wptexturize removal hack</strong></p>
<p>	I wrote a plugin to remove smart quotes.</p>
<p>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elana</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-5368</link>
		<dc:creator>Elana</dc:creator>
		<pubDate>Tue, 17 May 2005 17:53:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-5368</guid>
		<description>I think the problem goes down to the meta tags in the default themes for Wordpress.   For example, when I use the meta tag &lt;i&gt;&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;&lt;?php bloginfo(&#039;html_type&#039;); ?&gt;; charset=&lt;?php bloginfo(&#039;charset&#039;); ?&gt;&quot;&amp;gt&lt;/i&gt; in my Wordpress theme header.php file, I get an error when running through the W3C validator that reads:

&lt;i&gt; The character encoding specified in the HTTP header (utf-8) is different from the value in the  element (iso-8859-1). I will use the value from the HTTP header (utf-8) for this validation.&lt;/i&gt;

I also see this when running http://binarybonsai.com/kubrick/ through it as well.   I based my theme off the Kubrick theme packaged with WordPress, so this is unsurprising.  The question is, is it a plug-in breaking it or is there something overriding the meta elsewhere in the code?  I don&#039;t explicitly set the meta anywhere but my header.php file so it&#039;s picking it up from somewhere else.</description>
		<content:encoded><![CDATA[<p>I think the problem goes down to the meta tags in the default themes for WordPress.   For example, when I use the meta tag <i>&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;&lt;?php bloginfo(&#8216;html_type&#8217;); ?&gt;; charset=&lt;?php bloginfo(&#8216;charset&#8217;); ?&gt;&#8221;&amp;gt</i> in my WordPress theme header.php file, I get an error when running through the W3C validator that reads:</p>
<p><i> The character encoding specified in the HTTP header (utf-8) is different from the value in the  element (iso-8859-1). I will use the value from the HTTP header (utf-8) for this validation.</i></p>
<p>I also see this when running <a href="http://binarybonsai.com/kubrick/" rel="nofollow">http://binarybonsai.com/kubrick/</a> through it as well.   I based my theme off the Kubrick theme packaged with WordPress, so this is unsurprising.  The question is, is it a plug-in breaking it or is there something overriding the meta elsewhere in the code?  I don&#8217;t explicitly set the meta anywhere but my header.php file so it&#8217;s picking it up from somewhere else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alderete</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-5346</link>
		<dc:creator>Alderete</dc:creator>
		<pubDate>Fri, 13 May 2005 21:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-5346</guid>
		<description>Cory Doctorow &lt;a href=&quot;http://boingboing.net/2003_02_01_archive.html#90352273&quot;&gt;made a similar complaint&lt;/a&gt;, right down to the RSS feed problems -- in early 2003!

John Gruber of Daring Fireball (and the author of a MovableType plug-in to &lt;em&gt;add&lt;/em&gt; typographically pleasing characters) wrote what I consider to be the definitive response to this complaint, titled &quot;&lt;a href=&quot;http://daringfireball.net/2003/02/short_and_curlies&quot;&gt;Short and Curlies&lt;/a&gt;&quot; (http://daringfireball.net/2003/02/short_and_curlies)

Personally, I &lt;em&gt;love&lt;/em&gt; the automatic formatting, and have actually hacked in additional transformations to the Textile 2 WP plug-in.</description>
		<content:encoded><![CDATA[<p>Cory Doctorow <a href="http://boingboing.net/2003_02_01_archive.html#90352273">made a similar complaint</a>, right down to the RSS feed problems &#8212; in early 2003!</p>
<p>John Gruber of Daring Fireball (and the author of a MovableType plug-in to <em>add</em> typographically pleasing characters) wrote what I consider to be the definitive response to this complaint, titled &#8220;<a href="http://daringfireball.net/2003/02/short_and_curlies">Short and Curlies</a>&#8221; (<a href="http://daringfireball.net/2003/02/short_and_curlies" rel="nofollow">http://daringfirebal[...]_and_curlies</a>)</p>
<p>Personally, I <em>love</em> the automatic formatting, and have actually hacked in additional transformations to the Textile 2 WP plug-in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hink</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-5345</link>
		<dc:creator>hink</dc:creator>
		<pubDate>Fri, 13 May 2005 20:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-5345</guid>
		<description>I had a similar issue when reworking my scripting to generate a valid RSS feed -- I am a fanstypants and I like to use these entities in my posts, often in my title. I am not familiar with the inner workings of WordPress (I chose to frankenstein a far lesser-known cms), it was easy enough to fix my issue with  &lt;code&gt;preg_replace()&lt;/code&gt; and a defined entity array -- I am assuming that the aforementioned &lt;code&gt;ent2ncr()&lt;/code&gt; does much the same thing.  This might seem like a resource intensive method,  but it only occurs at the time of  publication in my CMS.  I am sure the well-refined methodologies in WordPress outstrip my abilities, but it 
allows me the freedom to use UTF-8  at will and still output valid XML to the feed.  
 

 </description>
		<content:encoded><![CDATA[<p>I had a similar issue when reworking my scripting to generate a valid RSS feed &#8212; I am a fanstypants and I like to use these entities in my posts, often in my title. I am not familiar with the inner workings of WordPress (I chose to frankenstein a far lesser-known cms), it was easy enough to fix my issue with  <code>preg_replace()</code> and a defined entity array &#8212; I am assuming that the aforementioned <code>ent2ncr()</code> does much the same thing.  This might seem like a resource intensive method,  but it only occurs at the time of  publication in my CMS.  I am sure the well-refined methodologies in WordPress outstrip my abilities, but it<br />
allows me the freedom to use UTF-8  at will and still output valid XML to the feed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-5341</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 13 May 2005 16:24:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-5341</guid>
		<description>Dougal: I agree it is a larger problem that just a WP problem, that was something I tried to make clear in the original post.

Mathias: My feed is UTF-8, I have the ent2ncr and my feed breaks all the time due to the content in the Around the web posts.</description>
		<content:encoded><![CDATA[<p>Dougal: I agree it is a larger problem that just a WP problem, that was something I tried to make clear in the original post.</p>
<p>Mathias: My feed is UTF-8, I have the ent2ncr and my feed breaks all the time due to the content in the Around the web posts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias Bynens</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-5340</link>
		<dc:creator>Mathias Bynens</dc:creator>
		<pubDate>Fri, 13 May 2005 16:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-5340</guid>
		<description>&lt;blockquote&gt;You shouldn&#039;t be able to break (make them invalid) the RSS feeds just by hitting the publish button. :)&lt;/blockquote&gt;

That&#039;s why everyone should use the UTF-8 standard, as Matt pointed out. Plus, WordPress 1.5.1 comes with a nifty &lt;code&gt;ent2ncr()&lt;/code&gt; function for stuff like this.</description>
		<content:encoded><![CDATA[<blockquote><p>You shouldn&#8217;t be able to break (make them invalid) the RSS feeds just by hitting the publish button. <img src='http://alexking.org/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></blockquote>
<p>That&#8217;s why everyone should use the UTF-8 standard, as Matt pointed out. Plus, WordPress 1.5.1 comes with a nifty <code>ent2ncr()</code> function for stuff like this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dougal Campbell</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-5339</link>
		<dc:creator>Dougal Campbell</dc:creator>
		<pubDate>Fri, 13 May 2005 16:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-5339</guid>
		<description>We should definitely endeavor to try to cover all the bases, but it&#039;s not a problem that&#039;s limited to WP. 

Look at &lt;a href=&quot;http://intertwingly.net/blog/&quot;&gt;Sam Ruby&lt;/a&gt;, for example -- I think most people would consider him an expert and a stickler for compliance. But his feed often contains HTML entities that aren&#039;t valid for XML (e.g. &#160;). As a result, I can almost never view his feed in Thunderbird, because it has an unforgiving parser.

Personally, I have my own home-grown version of your Unformatted plugin, which turns off the wptexturize and wpautop filters for the_content. Then I enter all of my posts in valid xhtml by hand.

Which still doesn&#039;t necessarily take care of all possible RSS problems. But I haven&#039;t seen my feed go invalid in quite a while.

Patient: &quot;Doctor, when I paste text from other sites into my blog, it hurts!&quot;

Doctor: &quot;Then don&#039;t do that!&quot;

;)
</description>
		<content:encoded><![CDATA[<p>We should definitely endeavor to try to cover all the bases, but it&#8217;s not a problem that&#8217;s limited to WP. </p>
<p>Look at <a href="http://intertwingly.net/blog/">Sam Ruby</a>, for example &#8212; I think most people would consider him an expert and a stickler for compliance. But his feed often contains HTML entities that aren&#8217;t valid for XML (e.g. &nbsp;). As a result, I can almost never view his feed in Thunderbird, because it has an unforgiving parser.</p>
<p>Personally, I have my own home-grown version of your Unformatted plugin, which turns off the wptexturize and wpautop filters for the_content. Then I enter all of my posts in valid xhtml by hand.</p>
<p>Which still doesn&#8217;t necessarily take care of all possible RSS problems. But I haven&#8217;t seen my feed go invalid in quite a while.</p>
<p>Patient: &#8220;Doctor, when I paste text from other sites into my blog, it hurts!&#8221;</p>
<p>Doctor: &#8220;Then don&#8217;t do that!&#8221;</p>
<p> <img src='http://alexking.org/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-5338</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 13 May 2005 15:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-5338</guid>
		<description>I appreciate all the concern, but I&#039;ve never had problem with the HTML display on my site (despite this problem). Now the RSS feeds on the other hand, those break nearly weekly.</description>
		<content:encoded><![CDATA[<p>I appreciate all the concern, but I&#8217;ve never had problem with the HTML display on my site (despite this problem). Now the RSS feeds on the other hand, those break nearly weekly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-5337</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 13 May 2005 15:35:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-5337</guid>
		<description>Yes, if you&#039;re set to UTF-8 on the backend and as OFJ pointed out your template says iso then you&#039;ll have even more problems, some just from typing, nothing to do with copy and paste.</description>
		<content:encoded><![CDATA[<p>Yes, if you&#8217;re set to UTF-8 on the backend and as OFJ pointed out your template says iso then you&#8217;ll have even more problems, some just from typing, nothing to do with copy and paste.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-5336</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 13 May 2005 15:11:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-5336</guid>
		<description>It isn&#039;t the HTML that really bothers me, browsers are very forgiving. It&#039;s the broken RSS feeds (some people use strict parsing feed readers) that are the main problem for me.</description>
		<content:encoded><![CDATA[<p>It isn&#8217;t the HTML that really bothers me, browsers are very forgiving. It&#8217;s the broken RSS feeds (some people use strict parsing feed readers) that are the main problem for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: O.F. Jay</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-5335</link>
		<dc:creator>O.F. Jay</dc:creator>
		<pubDate>Fri, 13 May 2005 15:08:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-5335</guid>
		<description>Alex: the encoding in your options is UTF-8 but the &lt;em&gt;output&lt;/em&gt; on the HTML template is iso-8859-1. (Line 5 of this page source.) This disjunct is the cause of a whole load of problems for people who don&#039;t know it. Changing the charset meta tag should be easier than converting the contents of your DB to utf-8. Give it a try with the formatting on and see if it works. </description>
		<content:encoded><![CDATA[<p>Alex: the encoding in your options is UTF-8 but the <em>output</em> on the HTML template is iso-8859-1. (Line 5 of this page source.) This disjunct is the cause of a whole load of problems for people who don&#8217;t know it. Changing the charset meta tag should be easier than converting the contents of your DB to utf-8. Give it a try with the formatting on and see if it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Recipher</title>
		<link>http://alexking.org/blog/2005/05/12/wordpress-breaks-copy-paste#comment-5334</link>
		<dc:creator>Recipher</dc:creator>
		<pubDate>Fri, 13 May 2005 13:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexking.org/blog/2005/05/08/wordpress-breaks-copy-paste/#comment-5334</guid>
		<description>This is the &lt;strong&gt;only&lt;/strong&gt; fret I have with Wordpress. I&#039;ve had this happen on numerous occasions, especially when copy and pasting into different applications which generatre RSS feeds, then, viewing it on Feedreader. I was always wondering what this was. </description>
		<content:encoded><![CDATA[<p>This is the <strong>only</strong> fret I have with WordPress. I&#8217;ve had this happen on numerous occasions, especially when copy and pasting into different applications which generatre RSS feeds, then, viewing it on Feedreader. I was always wondering what this was.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

