<?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>Callum Macdonald &#187; garbled chars</title>
	<atom:link href="http://www.callum-macdonald.com/tag/garbled-chars/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.callum-macdonald.com</link>
	<description>Callum on life</description>
	<lastBuildDate>Fri, 30 Jul 2010 15:10:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Zend Studio garbled chars fix</title>
		<link>http://www.callum-macdonald.com/2008/11/29/zend-studio-garbled-chars-fix/</link>
		<comments>http://www.callum-macdonald.com/2008/11/29/zend-studio-garbled-chars-fix/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 09:45:22 +0000</pubDate>
		<dc:creator>Callum</dc:creator>
				<category><![CDATA[Techy]]></category>
		<category><![CDATA[garbled chars]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Ubuntu 8.10]]></category>
		<category><![CDATA[Ubuntu Intrepid]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[zend studio]]></category>
		<category><![CDATA[Zend Studio 5.5.1]]></category>

		<guid isPermaLink="false">http://www.callum-macdonald.com/?p=782</guid>
		<description><![CDATA[Following my post about installing Zend Studio 5.5.1 on Ubuntu 8.10, Gyorgy posted a comment about a problem with garbled characters. I had noticed the problem myself, but only briefly, I don&#8217;t tend to work with very large files. As &#8230; <a href="http://www.callum-macdonald.com/2008/11/29/zend-studio-garbled-chars-fix/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Following my <a title="Installing Zend Studio 5.5.1 on Ubuntu 8.10" href="http://www.callum-macdonald.com/2008/05/20/zend-studio-551-on-ubuntu/">post</a> about installing Zend Studio 5.5.1 on Ubuntu 8.10, Gyorgy posted a <a title="Gyorgy on garbled text issues with Zend Studio 5.5.1 on Ubuntu 8.10" href="http://www.callum-macdonald.com/2008/05/20/zend-studio-551-on-ubuntu/#comment-31558">comment</a> about a problem with <a title="Screenshot of Zend Studio 5.5.1 garbling characters on Ubuntu Intrepid" href="http://ubuntuforums.org/attachment.php?attachmentid=92487&amp;d=1226597820" target="_blank">garbled characters</a>. I had noticed the problem myself, but only briefly, I don&#8217;t tend to work with very large files. As yet, I hadn&#8217;t gotten a chance to look into it.</p>
<p>I spent some time on it today. Through <a title="Thread discussing Zend Studio garbled text bug on Ubuntu Intrepid" href="http://www.zend.com/forums/index.php?t=msg&amp;th=6427" target="_blank">this</a> I found <a title="NetBeans rendering bug on Ubuntu 8.10 and others" href="http://forums.netbeans.org/post-14892.html" target="_blank">this thread</a> discussing a similar problem with Netbeans. User cesc posted <a title="User cesc finds a solution to the Netbeans garbled character rendering bug" href="http://forums.netbeans.org/topic4851-0-asc-15.html#15818" target="_blank">their fix</a> (workaround?) which others reported to work. I figured the same option might work in Zend.</p>
<p>After a little digging, I have found that this approach works for me. I&#8217;ve tested with a 3k+ line file, and the bug is resolved. I&#8217;m running Zend Studio 5.5.1, Ubuntu 8.10, Sun&#8217;s JRE build 1.6.0_10-b33, compiz disabled. Zend appears to work with compiz enabled, but scrolling a 3k+ line file is very slow.</p>
<p>I edited file <code>/opt/ZendStudio-5.5.1/bin/ZDE</code> at line 1543 and added this:</p>
<p><code># Hack in this option to solve garbled text problem as per:<br />
# http://tinyurl.com/zendchrfix<br />
options="$options -Dsun.java2d.pmoffscreen=false"</code></p>
<p>Here&#8217;s a <a title="Patch to fix garbled text rendering bug in Zend Studio 5.5.1 on Ubuntu 8.10" href="http://www.callum-macdonald.com/download/ZDE.text-render-bug-on-ubuntu-8.10.patch">patch</a> for those who like that sort of thing. Hopefully this will help others with the same issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.callum-macdonald.com/2008/11/29/zend-studio-garbled-chars-fix/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
