<?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 for Jabbering Giraffe</title>
	<atom:link href="http://happygiraffe.net/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://happygiraffe.net/blog</link>
	<description></description>
	<lastBuildDate>Sat, 10 Dec 2011 22:23:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Java Platform Encoding by Dominic Mitchell</title>
		<link>http://happygiraffe.net/blog/2009/09/24/java-platform-encoding/#comment-536</link>
		<dc:creator>Dominic Mitchell</dc:creator>
		<pubDate>Sat, 10 Dec 2011 22:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1624#comment-536</guid>
		<description>I&#039;m not entirely sure how filenames are interpreted.  It may well be independent of &lt;tt&gt;sun.jnu.encoding&lt;/tt&gt;.  In &lt;a href=&quot;https://gist.github.com/1456701&quot; rel=&quot;nofollow&quot;&gt;an example&lt;/a&gt; I just concocted, it appears to &lt;i&gt;always&lt;/i&gt; use UTF-8 for filenames on my mac.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not entirely sure how filenames are interpreted.  It may well be independent of <tt>sun.jnu.encoding</tt>.  In <a href="https://gist.github.com/1456701" rel="nofollow">an example</a> I just concocted, it appears to <i>always</i> use UTF-8 for filenames on my mac.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java Platform Encoding by John Dell'Aera</title>
		<link>http://happygiraffe.net/blog/2009/09/24/java-platform-encoding/#comment-535</link>
		<dc:creator>John Dell'Aera</dc:creator>
		<pubDate>Fri, 09 Dec 2011 02:31:27 +0000</pubDate>
		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1624#comment-535</guid>
		<description>For example, I can create files with Greek characters from a terminal via touch and all the UTF-8 characters are displayed correctly.</description>
		<content:encoded><![CDATA[<p>For example, I can create files with Greek characters from a terminal via touch and all the UTF-8 characters are displayed correctly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java Platform Encoding by John Dell'Aera</title>
		<link>http://happygiraffe.net/blog/2009/09/24/java-platform-encoding/#comment-534</link>
		<dc:creator>John Dell'Aera</dc:creator>
		<pubDate>Fri, 09 Dec 2011 02:07:20 +0000</pubDate>
		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1624#comment-534</guid>
		<description>I have a java server app that creates UTF-8 file system names.
Unfortunately, when I look at the file names the non-ascii characters of the file names are displayed with &#039;?&#039;. How do I get the system to display the appropriate UTF-8 character?


System specs:
Linux CentOS 6.0 2.6.18.8-xenU #1 SMP Thu May 13 11:11:51 PDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Tomcat 6
Java 1.6

JAVA_OPTS=-Dsun.jnu.encoding=UTF-8
CATALINA_OPTS=-Dfile.encoding=UTF-8


locale
LANG=en_US.UTF-8
LC_CTYPE=&quot;en_US.UTF-8&quot;
LC_NUMERIC=&quot;en_US.UTF-8&quot;
LC_TIME=&quot;en_US.UTF-8&quot;
LC_COLLATE=&quot;en_US.UTF-8&quot;
LC_MONETARY=&quot;en_US.UTF-8&quot;
LC_MESSAGES=&quot;en_US.UTF-8&quot;
LC_PAPER=&quot;en_US.UTF-8&quot;
LC_NAME=&quot;en_US.UTF-8&quot;
LC_ADDRESS=&quot;en_US.UTF-8&quot;
LC_TELEPHONE=&quot;en_US.UTF-8&quot;
LC_MEASUREMENT=&quot;en_US.UTF-8&quot;
LC_IDENTIFICATION=&quot;en_US.UTF-8&quot;
LC_ALL=


I even execute the following at startup:
        System.setProperty(&quot;file.encoding&quot;, &quot;UTF-8&quot;);
        System.setProperty(&quot;encoding&quot;, &quot;UTF-8&quot;);
        System.setProperty(&quot;user.language&quot;, &quot;en_US.UTF-8&quot;);
        System.setProperty(&quot;user.country&quot;, &quot;en_US.UTF-8&quot;);
        System.setProperty(&quot;sun.jnu.encoding&quot;, &quot;UTF8&quot;);


And where I create the file:
       fullPathName = new String(fullPathName.getBytes(&quot;UTF-8&quot;));
       InputStream is = file.getInputStream();
       input = new BufferedInputStream(is, STREAM_BUFFER_SIZE);
       output = new BufferedOutputStream(new FileOutputStream(fullPathName), 
                                                                           STREAM_BUFFER_SIZE);

       // Read file from memory and write it to disk.
       int r;
       byte[] buf = new byte[STREAM_BUFFER_SIZE];
       while ((r = input.read(buf)) != -1) {
                       output.write(buf, 0, r);
         }

         output.close();
         output = null;
         input.close();
         input = null;</description>
		<content:encoded><![CDATA[<p>I have a java server app that creates UTF-8 file system names.<br />
Unfortunately, when I look at the file names the non-ascii characters of the file names are displayed with &#8216;?&#8217;. How do I get the system to display the appropriate UTF-8 character?</p>
<p>System specs:<br />
Linux CentOS 6.0 2.6.18.8-xenU #1 SMP Thu May 13 11:11:51 PDT 2010 x86_64 x86_64 x86_64 GNU/Linux</p>
<p>Tomcat 6<br />
Java 1.6</p>
<p>JAVA_OPTS=-Dsun.jnu.encoding=UTF-8<br />
CATALINA_OPTS=-Dfile.encoding=UTF-8</p>
<p>locale<br />
LANG=en_US.UTF-8<br />
LC_CTYPE=&#8221;en_US.UTF-8&#8243;<br />
LC_NUMERIC=&#8221;en_US.UTF-8&#8243;<br />
LC_TIME=&#8221;en_US.UTF-8&#8243;<br />
LC_COLLATE=&#8221;en_US.UTF-8&#8243;<br />
LC_MONETARY=&#8221;en_US.UTF-8&#8243;<br />
LC_MESSAGES=&#8221;en_US.UTF-8&#8243;<br />
LC_PAPER=&#8221;en_US.UTF-8&#8243;<br />
LC_NAME=&#8221;en_US.UTF-8&#8243;<br />
LC_ADDRESS=&#8221;en_US.UTF-8&#8243;<br />
LC_TELEPHONE=&#8221;en_US.UTF-8&#8243;<br />
LC_MEASUREMENT=&#8221;en_US.UTF-8&#8243;<br />
LC_IDENTIFICATION=&#8221;en_US.UTF-8&#8243;<br />
LC_ALL=</p>
<p>I even execute the following at startup:<br />
        System.setProperty(&#8220;file.encoding&#8221;, &#8220;UTF-8&#8243;);<br />
        System.setProperty(&#8220;encoding&#8221;, &#8220;UTF-8&#8243;);<br />
        System.setProperty(&#8220;user.language&#8221;, &#8220;en_US.UTF-8&#8243;);<br />
        System.setProperty(&#8220;user.country&#8221;, &#8220;en_US.UTF-8&#8243;);<br />
        System.setProperty(&#8220;sun.jnu.encoding&#8221;, &#8220;UTF8&#8243;);</p>
<p>And where I create the file:<br />
       fullPathName = new String(fullPathName.getBytes(&#8220;UTF-8&#8243;));<br />
       InputStream is = file.getInputStream();<br />
       input = new BufferedInputStream(is, STREAM_BUFFER_SIZE);<br />
       output = new BufferedOutputStream(new FileOutputStream(fullPathName),<br />
                                                                           STREAM_BUFFER_SIZE);</p>
<p>       // Read file from memory and write it to disk.<br />
       int r;<br />
       byte[] buf = new byte[STREAM_BUFFER_SIZE];<br />
       while ((r = input.read(buf)) != -1) {<br />
                       output.write(buf, 0, r);<br />
         }</p>
<p>         output.close();<br />
         output = null;<br />
         input.close();<br />
         input = null;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Tomcat Logging in WTP by Nishant Kyal</title>
		<link>http://happygiraffe.net/blog/2008/08/01/tomcat-logging-in-wtp/#comment-525</link>
		<dc:creator>Nishant Kyal</dc:creator>
		<pubDate>Wed, 09 Nov 2011 10:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://happygiraffe.net/2008/08/01/tomcat-logging-in-wtp/#comment-525</guid>
		<description>Do you know how to enable logging for webapps in eclipse-tomcat. I&#039;ve multiple webapps each having it&#039;s own logger properties. The solution above got the tomcat loggers running but not the webapp ones :(

Appreciate your help. Atleast got over the first bump :)</description>
		<content:encoded><![CDATA[<p>Do you know how to enable logging for webapps in eclipse-tomcat. I&#8217;ve multiple webapps each having it&#8217;s own logger properties. The solution above got the tomcat loggers running but not the webapp ones <img src='http://happygiraffe.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Appreciate your help. Atleast got over the first bump <img src='http://happygiraffe.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Publishing a subdirectory to github pages by Dominic Mitchell</title>
		<link>http://happygiraffe.net/blog/2009/07/04/publishing-a-subdirectory-to-github-pages/#comment-523</link>
		<dc:creator>Dominic Mitchell</dc:creator>
		<pubDate>Sun, 06 Nov 2011 21:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1545#comment-523</guid>
		<description>Thanks for pointing this out.  I&#039;ve not needed to do this since I wrote the post.  These days&#039;s I&#039;d be taking a closer look at the &lt;a href=&quot;https://github.com/blog/945-github-maven-plugins&quot; rel=&quot;nofollow&quot;&gt;github-maven-plugin&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Thanks for pointing this out.  I&#8217;ve not needed to do this since I wrote the post.  These days&#8217;s I&#8217;d be taking a closer look at the <a href="https://github.com/blog/945-github-maven-plugins" rel="nofollow">github-maven-plugin</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Publishing a subdirectory to github pages by Meettya</title>
		<link>http://happygiraffe.net/blog/2009/07/04/publishing-a-subdirectory-to-github-pages/#comment-521</link>
		<dc:creator>Meettya</dc:creator>
		<pubDate>Sun, 06 Nov 2011 10:32:34 +0000</pubDate>
		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1545#comment-521</guid>
		<description>As for me its not working out of box, instead of:
new_commit=$(git commit-tree $doc_sha -p $parent_sha)
I must write
git log --pretty=format:&#039;%s&#039; -n 1 $doc_dir &gt; tmp_message
new_commit=$(git commit-tree $doc_sha -p $parent_sha &lt; tmp_message )
where $doc_dir - our doc directory</description>
		<content:encoded><![CDATA[<p>As for me its not working out of box, instead of:<br />
new_commit=$(git commit-tree $doc_sha -p $parent_sha)<br />
I must write<br />
git log &#8211;pretty=format:&#8217;%s&#8217; -n 1 $doc_dir &gt; tmp_message<br />
new_commit=$(git commit-tree $doc_sha -p $parent_sha &lt; tmp_message )<br />
where $doc_dir &#8211; our doc directory</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jslint4java 2.0.0 by Clay Smith</title>
		<link>http://happygiraffe.net/blog/2011/07/15/jslint4java-2-0-0/#comment-512</link>
		<dc:creator>Clay Smith</dc:creator>
		<pubDate>Thu, 06 Oct 2011 22:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1709#comment-512</guid>
		<description>Really excited about integrating jslint4java into my build, but it looks like I need to wait for jslint4java-2.0.1 since I&#039;m using an older version of maven (2.2.1). Can we expect the 2.0.1 version of the maven plugin to be released in the next few weeks? Thanks!</description>
		<content:encoded><![CDATA[<p>Really excited about integrating jslint4java into my build, but it looks like I need to wait for jslint4java-2.0.1 since I&#8217;m using an older version of maven (2.2.1). Can we expect the 2.0.1 version of the maven plugin to be released in the next few weeks? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jslint4java 2.0.0 by Dominic Mitchell</title>
		<link>http://happygiraffe.net/blog/2011/07/15/jslint4java-2-0-0/#comment-511</link>
		<dc:creator>Dominic Mitchell</dc:creator>
		<pubDate>Thu, 06 Oct 2011 17:11:34 +0000</pubDate>
		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1709#comment-511</guid>
		<description>What&#039;s the first line of the file?  Does it have a BOM?</description>
		<content:encoded><![CDATA[<p>What&#8217;s the first line of the file?  Does it have a BOM?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jslint4java 2.0.0 by Arun Mariappan K</title>
		<link>http://happygiraffe.net/blog/2011/07/15/jslint4java-2-0-0/#comment-510</link>
		<dc:creator>Arun Mariappan K</dc:creator>
		<pubDate>Thu, 06 Oct 2011 08:36:34 +0000</pubDate>
		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1709#comment-510</guid>
		<description>Hello Dominic Mitchell,

Thank you very much for this great Tool.

I have a problem in using a .js file which is in the UTF-8 Encoding format. If i save the same file to ANSI it&#039;s works fine.

I have tried the --encoding UTF-8 argument and it doesn&#039;t help me.

If i have missed out anything specific, kindly point out to me and help me.

Here below you have error which i get for the UTF-8 file format,

jslint:js\PurchaseTrackerScript.js:1:1:Unexpected &#039;∩&#039;.
jslint:js\PurchaseTrackerScript.js:1:1:Stopping.  (1% scanned).

Thanks &amp; Regards,
Arun K</description>
		<content:encoded><![CDATA[<p>Hello Dominic Mitchell,</p>
<p>Thank you very much for this great Tool.</p>
<p>I have a problem in using a .js file which is in the UTF-8 Encoding format. If i save the same file to ANSI it&#8217;s works fine.</p>
<p>I have tried the &#8211;encoding UTF-8 argument and it doesn&#8217;t help me.</p>
<p>If i have missed out anything specific, kindly point out to me and help me.</p>
<p>Here below you have error which i get for the UTF-8 file format,</p>
<p>jslint:js\PurchaseTrackerScript.js:1:1:Unexpected &#8216;∩&#8217;.<br />
jslint:js\PurchaseTrackerScript.js:1:1:Stopping.  (1% scanned).</p>
<p>Thanks &amp; Regards,<br />
Arun K</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery Logging by Dominic Mitchell</title>
		<link>http://happygiraffe.net/blog/2007/09/26/jquery-logging/#comment-496</link>
		<dc:creator>Dominic Mitchell</dc:creator>
		<pubDate>Tue, 14 Jun 2011 18:16:51 +0000</pubDate>
		<guid isPermaLink="false">http://happygiraffe.net/2007/09/26/jquery-logging/#comment-496</guid>
		<description>You&#039;ll need to load in jQuery first.  Have a look at the &lt;a href=&quot;http://docs.jquery.com/How_jQuery_Works&quot; rel=&quot;nofollow&quot;&gt;tutorial&lt;/a&gt; if you&#039;re not sure.</description>
		<content:encoded><![CDATA[<p>You&#8217;ll need to load in jQuery first.  Have a look at the <a href="http://docs.jquery.com/How_jQuery_Works" rel="nofollow">tutorial</a> if you&#8217;re not sure.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

