<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Java&#8217;s String.trim has a strange idea of whitespace</title>
	<atom:link href="http://closingbraces.net/2008/11/11/javastringtrim/feed/" rel="self" type="application/rss+xml" />
	<link>http://closingbraces.net/2008/11/11/javastringtrim/</link>
	<description>After-hours notes and opinions on Java and system development</description>
	<lastBuildDate>Wed, 11 Jan 2012 18:00:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Tim McCormack</title>
		<link>http://closingbraces.net/2008/11/11/javastringtrim/#comment-4675</link>
		<dc:creator><![CDATA[Tim McCormack]]></dc:creator>
		<pubDate>Fri, 26 Aug 2011 17:47:34 +0000</pubDate>
		<guid isPermaLink="false">http://closingbraces.net/?p=110#comment-4675</guid>
		<description><![CDATA[I&#039;m finding [\p{javaWhitespace}\p{Zs}] to be a pretty good range for trimming whitespace. As a utility class: https://gist.github.com/1173941]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m finding [\p{javaWhitespace}\p{Zs}] to be a pretty good range for trimming whitespace. As a utility class: <a href="https://gist.github.com/1173941" rel="nofollow">https://gist.github.com/1173941</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: priyavenkat</title>
		<link>http://closingbraces.net/2008/11/11/javastringtrim/#comment-4663</link>
		<dc:creator><![CDATA[priyavenkat]]></dc:creator>
		<pubDate>Wed, 29 Dec 2010 22:50:59 +0000</pubDate>
		<guid isPermaLink="false">http://closingbraces.net/?p=110#comment-4663</guid>
		<description><![CDATA[And adding to this was yet another post &lt;a href=&quot;http://javaprogrammingtips4u.blogspot.com/2010/12/stringtrim-on-unicode-space-characters_29.html&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>And adding to this was yet another post <a href="http://javaprogrammingtips4u.blogspot.com/2010/12/stringtrim-on-unicode-space-characters_29.html" rel="nofollow">here</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: priyavenkat</title>
		<link>http://closingbraces.net/2008/11/11/javastringtrim/#comment-4662</link>
		<dc:creator><![CDATA[priyavenkat]]></dc:creator>
		<pubDate>Tue, 28 Dec 2010 23:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://closingbraces.net/?p=110#comment-4662</guid>
		<description><![CDATA[Hi that was a fantastic post!!Was wondering why trim() was not trimming a deliberately introduced unicode whitespace character and found the answer here! Hats off!]]></description>
		<content:encoded><![CDATA[<p>Hi that was a fantastic post!!Was wondering why trim() was not trimming a deliberately introduced unicode whitespace character and found the answer here! Hats off!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: g</title>
		<link>http://closingbraces.net/2008/11/11/javastringtrim/#comment-4636</link>
		<dc:creator><![CDATA[g]]></dc:creator>
		<pubDate>Wed, 20 Oct 2010 08:27:43 +0000</pubDate>
		<guid isPermaLink="false">http://closingbraces.net/?p=110#comment-4636</guid>
		<description><![CDATA[huh???

I juz now it today, omg ...!! 
why... why why this happened on trim of java sdk. :(]]></description>
		<content:encoded><![CDATA[<p>huh???</p>
<p>I juz now it today, omg &#8230;!!<br />
why&#8230; why why this happened on trim of java sdk. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: closingbraces</title>
		<link>http://closingbraces.net/2008/11/11/javastringtrim/#comment-4621</link>
		<dc:creator><![CDATA[closingbraces]]></dc:creator>
		<pubDate>Thu, 03 Jun 2010 11:13:49 +0000</pubDate>
		<guid isPermaLink="false">http://closingbraces.net/?p=110#comment-4621</guid>
		<description><![CDATA[Hi Johann,

If it&#039;s fine for your needs, fine, no problem. It&#039;s just that if one is dealing with strings that can include control codes or non-ASCII characters, it doesn&#039;t do quite what one might expect and isn&#039;t entirely consistent with Java&#039;s other &quot;whitespace&quot; methods.

For some people and situations that will matter (e.g. for &quot;internationalized&quot; strings), for others it won&#039;t. As usual, you either need to know precisely what you want and how to achieve it, or you can just assume String.trim is at roughly what you want and accept whatever it happens to do.]]></description>
		<content:encoded><![CDATA[<p>Hi Johann,</p>
<p>If it&#8217;s fine for your needs, fine, no problem. It&#8217;s just that if one is dealing with strings that can include control codes or non-ASCII characters, it doesn&#8217;t do quite what one might expect and isn&#8217;t entirely consistent with Java&#8217;s other &#8220;whitespace&#8221; methods.</p>
<p>For some people and situations that will matter (e.g. for &#8220;internationalized&#8221; strings), for others it won&#8217;t. As usual, you either need to know precisely what you want and how to achieve it, or you can just assume String.trim is at roughly what you want and accept whatever it happens to do.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

