<?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>Everything is wrong &#187; HTML</title>
	<atom:link href="http://everythingiswrong.free.fr/index.php/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://everythingiswrong.free.fr</link>
	<description>Un blog dédié à l&#039;informatique en général</description>
	<lastBuildDate>Wed, 06 Oct 2021 21:20:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Transformer du HTML en text standard</title>
		<link>http://everythingiswrong.free.fr/index.php/2010/09/20/transformer-du-html-en-text-standard/</link>
		<comments>http://everythingiswrong.free.fr/index.php/2010/09/20/transformer-du-html-en-text-standard/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 12:04:53 +0000</pubDate>
		<dc:creator>Yan</dc:creator>
				<category><![CDATA[Astuces]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://yan.langlois.free.fr/wordpress/?p=233</guid>
		<description><![CDATA[Transformer du texte HTML en texte standard das un programme Java.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Il est de temps en temps utile de convertir du texte avec des caractères spéciaux en texte HTML. J&#8217;ai eu le problème inverse et j&#8217;ai trouvé une solution &#8220;séduisante&#8221; grâce à la librairie apache commons-lang : <a href="http://commons.apache.org/lang/api-release/org/apache/commons/lang/StringEscapeUtils.html#unescapeHtml%28java.lang.String%29" target="_blank"><em>StringEscapeUtils.unescapeHtml()</em></a>. Pour utiliser cette librairie dans un projet Maven il faut ajouter la dépendance suivante :</p>
<p style="text-align: justify;">
<pre class="brush: xml; title: ; notranslate">

&lt;dependency&gt;
    &lt;groupId&gt;commons-lang&lt;/groupId&gt;
    &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
    &lt;version&gt;2.5&lt;/version&gt;
&lt;/dependency&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://everythingiswrong.free.fr/index.php/2010/09/20/transformer-du-html-en-text-standard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
