<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>www.jhodges.co.uk &#187; HTML</title>
	<atom:link href="http://jhodges.co.uk/category/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://jhodges.co.uk</link>
	<description>I ain&#039;t not never done nothing to nobody and there ain&#039;t not no way none of that couldn&#039;t not never have happened. See?</description>
	<lastBuildDate>Tue, 08 Jun 2010 20:34:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Convert to Plain Text (With HTML Entities)</title>
		<link>http://jhodges.co.uk/convert-to-plain-text-with-html-entities/</link>
		<comments>http://jhodges.co.uk/convert-to-plain-text-with-html-entities/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 12:37:41 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.jhodges.co.uk/?p=136</guid>
		<description><![CDATA[I work a lot with user submitted data, and it usually comes in the form of a Microsoft Word document, either as a .doc or copied and pasted from Word into forms or emails. The problem is Microsoft Word likes to change some of the characters in your document to smart characters, most noticeably the [...]]]></description>
			<content:encoded><![CDATA[<p>I work a lot with user submitted data, and it usually comes in the form of a Microsoft Word document, either as a .doc or copied and pasted from Word into forms or emails. The problem is Microsoft Word likes to change some of the characters in your document to smart characters, most noticeably the double quotation marks, apostrophes, elongated hyphens and triple dots. Although this possibly makes the document look nicer (does it?), it is most annoying as it does not display properly in HTML, resulting in funny question marks and random characters.</p>
<p>I have created this simple form to strip out all of the Microsoft Word smart quotes and other weird or invisible characters that show up wrong in HTML, and replace them with the standard ASCII equivalents. At the same time you can also optionally encode the HTML entities. The results can be displayed or downloaded.</p>
<p><span id="more-136"></span></p>
<style>
form#convert textarea{
width:100%;
height:350px;
}
form#convert input{
font-size:15px;
}
form#convert{
margin-bottom:20px;
}
</style>
<form id="convert" action="http://code.jhodges.co.uk/plain_text/convert.php" method="post">
Paste your text here:<br/><textarea name="data"></textarea><br/></p>
<input id="htmlentities" name="htmlentities" type="checkbox" value="1" /><label for="htmlentities">Encode HTML Entities</label></p>
<input name="display" type="submit" value="Display" />
<input name="download" type="submit" value="Download" />
</form>
]]></content:encoded>
			<wfw:commentRss>http://jhodges.co.uk/convert-to-plain-text-with-html-entities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
