<?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>brosinski.com/stephan &#187; java</title>
	<atom:link href="http://www.brosinski.com/stephan/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brosinski.com/stephan</link>
	<description></description>
	<lastBuildDate>Sun, 29 Jan 2012 20:59:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
<cloud domain='www.brosinski.com' port='80' path='/stephan/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>The Evils of java.lang.String.toUpperCase</title>
		<link>http://www.brosinski.com/stephan/2008/02/09/the-evils-of-javalangstringtouppercase/</link>
		<comments>http://www.brosinski.com/stephan/2008/02/09/the-evils-of-javalangstringtouppercase/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 17:34:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://brosinski.com/stephan/2008/02/09/the-evils-of-javalangstringtouppercase/</guid>
		<description><![CDATA[String.toUpperCase is not as innocent as it looks. If you carefully read the docs you&#8217;ll see that the default signature asks for a java.util.Locale. The reasoning behind this is that there are language specific rules on how to convert lower case letters to uppercase. German, for example, has the letter &#8220;ß&#8221; which gets converted to [...]]]></description>
			<content:encoded><![CDATA[<p>String.toUpperCase is not as innocent as it looks. If you carefully read the docs you&#8217;ll see that the default signature asks for a java.util.Locale. The reasoning behind this is that there are language specific rules on how to convert lower case letters to uppercase. German, for example, has the letter &#8220;ß&#8221; which gets converted to &#8220;SS&#8221;, so &#8220;straße&#8221; becomes &#8220;STRASSE&#8221;. See the problem? The String length changed! This can trip you up if you stored it somewhere before you called toUpperCase. I&#8217;m sure there are lots of examples for other languages, so watch out and never store a String length.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brosinski.com/stephan/2008/02/09/the-evils-of-javalangstringtouppercase/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

