<?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: On bytes, chars, Strings, XML and Unicode</title>
	<atom:link href="http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/</link>
	<description>A blog about programming in .NET and Java</description>
	<lastBuildDate>Mon, 19 May 2008 21:44:31 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Eric</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/comment-page-1/#comment-1203</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Mon, 19 May 2008 16:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/#comment-1203</guid>
		<description></description>
		<content:encoded><![CDATA[<p>&gt; which prints the all familiar â€œHÃ©llo WÃ¸rldâ€?. This is a nice trick, and I am not completely sure how it works.</p>

<p>If you change the code to create a byte[] for the XML string &#8217;s&#8217; does it work like the first case.  Because there may be some magic in the file encoding the the javac compiler sees.  Namely that &#8216;HÃ©llo WÃ¸rld&#8217; is read by the complier using some default encoding (e.g. other then UTF-8), and magically transforming this to the correct UTF-16 representation.</p>

<p>From javac
-encoding encoding
    Set the source file encoding name, such as EUCJIS/SJIS. If -encoding is not specified, the platform default converter is used.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/comment-page-1/#comment-1198</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sat, 17 May 2008 08:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/#comment-1198</guid>
		<description>&lt;p&gt;Hi 
Nice article. Would you be interested in reposting this to JavaLobby - I think it would be useful there. 
Contact me if you&#039;re interested and we can organise it 
James&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi 
Nice article. Would you be interested in reposting this to JavaLobby &#8211; I think it would be useful there. 
Contact me if you&#8217;re interested and we can organise it 
James</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Arjen Poutsma</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/comment-page-1/#comment-1192</link>
		<dc:creator>Arjen Poutsma</dc:creator>
		<pubDate>Fri, 16 May 2008 12:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/#comment-1192</guid>
		<description>&lt;p&gt;Typo eradicated.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Typo eradicated.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Iwein</title>
		<link>http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/comment-page-1/#comment-1191</link>
		<dc:creator>Iwein</dc:creator>
		<pubDate>Fri, 16 May 2008 12:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/arjen/archives/2008/05/15/on-bytes-chars-strings-xml-and-unicode/#comment-1191</guid>
		<description></description>
		<content:encoded><![CDATA[<p>&gt; String s = &#8220;HÃ«llo WÃ¸rld&#8221;;
&gt; xmlReader.parse(new InputSource(new StringReader(s)));
&gt; which prints the all familiar â€œHÃ©llo WÃ¸rldâ€?.</p>

<p>Is that a typo or are we seeing more magic here?</p>]]></content:encoded>
	</item>
</channel>
</rss>
