<?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/"
	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>Notes on Java, Solaris, PHP, LDAP...</title>
	<atom:link href="http://negev.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://negev.wordpress.com</link>
	<description>by Peter Kehl</description>
	<lastBuildDate>Thu, 13 Jun 2013 22:22:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='negev.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Notes on Java, Solaris, PHP, LDAP...</title>
		<link>http://negev.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://negev.wordpress.com/osd.xml" title="Notes on Java, Solaris, PHP, LDAP..." />
	<atom:link rel='hub' href='http://negev.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Error blackhole in Adobe Flex or SWF player</title>
		<link>http://negev.wordpress.com/2009/07/20/error-blackhole-in-adobe-flex-or-swf-player/</link>
		<comments>http://negev.wordpress.com/2009/07/20/error-blackhole-in-adobe-flex-or-swf-player/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 13:34:26 +0000</pubDate>
		<dc:creator>negev</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Adobe Flex]]></category>

		<guid isPermaLink="false">http://negev.wordpress.com/2009/07/20/error-blackhole-in-adobe-flex-or-swf-player/</guid>
		<description><![CDATA[So you have an Adobe Flex application that uses GUI states. You get back to it after a longer period, and you need to fine-tune details. You need to set initial properties of some GUI controls for some situations. You already had an initialization function, so you just do it there. Then you run it, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=110&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>So you have an Adobe Flex application that uses GUI states. You get back to it after a longer period, and you need to fine-tune details. You need to set initial properties of some GUI controls for some situations. You already had an initialization function, so you just do it there. Then you run it, and the code just stops where you changed it. No error and no execution. You try the debug SWF player, same thing.</p>
<p>That&#8217;s when you access a GUI control, which wasn&#8217;t created yet. It happens if your control is added in a GUI state, but the component didn&#8217;t enter that state yet. Like if in the following you want to set <em>contactMe.selected</em> before you switch your component to &#8220;<em>extendedForm</em>&#8220;.</p>
<p>&lt;mx:states&gt;<br />
&lt;mx:State name=&#8221;extendedForm&#8221;&gt;<br />
&lt;mx:AddChild position=&#8221;lastChild&#8221;&gt;<br />
&lt;mx:CheckBox id=&#8221;contactMe&#8221; x=&#8221;10&#8243; y=&#8221;216&#8243; label=&#8221;Would you like us to contact you about our new products? Maximum 4 times a year.&#8221; /&gt;<br />
&lt;/mx:AddChild&gt;<br />
&lt;/mx:State&gt;<br />
&lt;/mx:states&gt;</p>
<p>Adobe Flex or SWF player should really report this as a null exception or some other meaningful error.</p>
<p>I reported it at <a href="http://bugs.adobe.com/jira/browse/SDK-22383">Flex bugs site</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/negev.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/negev.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=110&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://negev.wordpress.com/2009/07/20/error-blackhole-in-adobe-flex-or-swf-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2fb532a6f3e10545119f477374f05a51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">negev</media:title>
		</media:content>
	</item>
		<item>
		<title>Using standard error output (stderr) in PHP</title>
		<link>http://negev.wordpress.com/2009/06/01/using-standard-error-output-stderr-in-php/</link>
		<comments>http://negev.wordpress.com/2009/06/01/using-standard-error-output-stderr-in-php/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 10:51:17 +0000</pubDate>
		<dc:creator>negev</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://negev.wordpress.com/?p=107</guid>
		<description><![CDATA[$STDERR= fopen("php://stderr","w");<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=107&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<pre>$STDERR= fopen("php://stderr","w");</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/negev.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/negev.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=107&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://negev.wordpress.com/2009/06/01/using-standard-error-output-stderr-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2fb532a6f3e10545119f477374f05a51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">negev</media:title>
		</media:content>
	</item>
		<item>
		<title>Xdebug and NetBeans for PHP on Mac OS X</title>
		<link>http://negev.wordpress.com/2009/02/12/xdebug-and-netbeans-for-php-on-mac-os-x/</link>
		<comments>http://negev.wordpress.com/2009/02/12/xdebug-and-netbeans-for-php-on-mac-os-x/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 13:08:48 +0000</pubDate>
		<dc:creator>negev</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://negev.wordpress.com/?p=105</guid>
		<description><![CDATA[I really used to like JEdit. It understands almost every shell/programming/database language and it colors source code accordingly. You can have 100+ files open, switch quickly between them and you can split the editor horizontally and vertically as you need. But somehow JEdit on Mac OS didn&#8217;t like scrolling wheel recently &#8211; it jumped up [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=105&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I really used to like JEdit. It understands almost every shell/programming/database language and it colors source code accordingly. You can have 100+ files open, switch quickly between them and you can split the editor horizontally and vertically as you need.</p>
<p>But somehow JEdit on Mac OS didn&#8217;t like scrolling wheel recently &#8211; it jumped up and down, skipping many pages. So I&#8217;ve tried NetBeans 6.5. with PHP support. It looks beautiful. If you get PHP-only version of NetBeans rather than full version, it loads up quickly too.</p>
<p>While using NetBeans, I&#8217;ve noticed it can debug PHP via Xdebug. So I&#8217;ve installed Xdebug 2.0.4 on my Mac OS from sources &#8211; seemed easy. In Apache error log it just read: Failed loading /path/to/xdebug.so (null). But it didn&#8217;t load up in PHP. Then I&#8217;ve tried MacPorts Xdebug package, but still the same.</p>
<p>After I&#8217;ve tried several ways to resolve this, I&#8217;ve come across a solution at <a href="http://patrickgibson.com/news/andsuch/000198.php" rel="nofollow">http://patrickgibson.com/news/andsuch/000198.php</a></p>
<p>Debugging PHP in NetBeans rocks! You can see variables, arrays, objects, set up breakpoints&#8230;. lovely!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/negev.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/negev.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=105&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://negev.wordpress.com/2009/02/12/xdebug-and-netbeans-for-php-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2fb532a6f3e10545119f477374f05a51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">negev</media:title>
		</media:content>
	</item>
		<item>
		<title>Darcs &#8211; source code management</title>
		<link>http://negev.wordpress.com/2008/12/22/darcs-source-code-management/</link>
		<comments>http://negev.wordpress.com/2008/12/22/darcs-source-code-management/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 13:55:50 +0000</pubDate>
		<dc:creator>negev</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Revision Control]]></category>

		<guid isPermaLink="false">http://negev.wordpress.com/?p=103</guid>
		<description><![CDATA[When talking to to DokuWiki community, I&#8217;ve noticed that they use Darcs &#8211; http://darcs.net<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=103&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>When talking to to DokuWiki community, I&#8217;ve noticed that they use Darcs &#8211; <a href="http://darcs.net">http://darcs.net</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/negev.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/negev.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=103&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://negev.wordpress.com/2008/12/22/darcs-source-code-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2fb532a6f3e10545119f477374f05a51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">negev</media:title>
		</media:content>
	</item>
		<item>
		<title>DokuWiki fix</title>
		<link>http://negev.wordpress.com/2008/12/19/dokuwiki-fix/</link>
		<comments>http://negev.wordpress.com/2008/12/19/dokuwiki-fix/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 18:39:30 +0000</pubDate>
		<dc:creator>negev</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Interface]]></category>

		<guid isPermaLink="false">http://negev.wordpress.com/?p=99</guid>
		<description><![CDATA[Some time ago I&#8217;ve customized DokuWiki for our purposes &#8211; extra integration with LDAP and Novell iChain, and making it all nicer. Today I&#8217;ve fixed two bad errors that appeared when I was updating it to version 2008-05-05. DokuWiki is perfect for users and it has many plugins. But if you want to customize or [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=99&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Some time ago I&#8217;ve customized DokuWiki for our purposes &#8211; extra integration with LDAP and Novell iChain, and making it all nicer. Today I&#8217;ve fixed two bad errors that appeared when I was updating it to version 2008-05-05.</p>
<p>DokuWiki is perfect for users and it has many plugins. But if you want to customize or fix anything in it, then you&#8217;ll find that it is really disorganised inside.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/negev.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/negev.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=99&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://negev.wordpress.com/2008/12/19/dokuwiki-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2fb532a6f3e10545119f477374f05a51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">negev</media:title>
		</media:content>
	</item>
		<item>
		<title>Single sign-on and guest access to Adobe Connect</title>
		<link>http://negev.wordpress.com/2008/12/10/signgle-sign-on-and-guest-access-to-adobe-connect/</link>
		<comments>http://negev.wordpress.com/2008/12/10/signgle-sign-on-and-guest-access-to-adobe-connect/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 13:04:13 +0000</pubDate>
		<dc:creator>negev</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[Web Interface]]></category>

		<guid isPermaLink="false">http://negev.wordpress.com/?p=93</guid>
		<description><![CDATA[I&#8217;ve made our Adobe Connect service single sign-on for our employees and nicely work for our guests &#8211; all behind Novell iChain accelerator. It was a pain in the neck to make them work together. A lot of weird HTTP header and URI issues. Even though Adobe Connect offers a nice API to manage meetings, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=93&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve made our Adobe Connect service single sign-on for our employees and nicely work for our guests &#8211; all behind Novell iChain accelerator. It was a pain in the neck to make them work together. A lot of weird HTTP header and URI issues. Even though Adobe Connect offers a nice API to manage meetings, log in users and guests, it&#8217;s really proxy-unfriendly.</p>
<p>Some of my troubles and the solution are at <a href="http://www.connectusers.com/forums/cucbb/viewtopic.php?id=1496">http://www.connectusers.com/forums/cucbb/viewtopic.php?id=1496</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/negev.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/negev.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=93&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://negev.wordpress.com/2008/12/10/signgle-sign-on-and-guest-access-to-adobe-connect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2fb532a6f3e10545119f477374f05a51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">negev</media:title>
		</media:content>
	</item>
		<item>
		<title>Transparent images for IE 6</title>
		<link>http://negev.wordpress.com/2008/11/13/transparent-images-for-ie-6/</link>
		<comments>http://negev.wordpress.com/2008/11/13/transparent-images-for-ie-6/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 17:05:33 +0000</pubDate>
		<dc:creator>negev</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Web Interface]]></category>

		<guid isPermaLink="false">http://negev.wordpress.com/?p=91</guid>
		<description><![CDATA[Heh. It turns out that Microsoft Internet Explorer 6 doesn&#8217;t like transparent PNGs. When you use them, the IE ignores their transparency. So I use transparent GIFs instead.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=91&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Heh. It turns out that Microsoft Internet Explorer 6 doesn&#8217;t like transparent PNGs. When you use them, the IE ignores their transparency. So I use transparent GIFs instead.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/negev.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/negev.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=91&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://negev.wordpress.com/2008/11/13/transparent-images-for-ie-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2fb532a6f3e10545119f477374f05a51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">negev</media:title>
		</media:content>
	</item>
		<item>
		<title>Generating Unicode email via mailto: link in Javascript</title>
		<link>http://negev.wordpress.com/2008/09/11/generating-unicode-email-via-mailto-link-in-javascript/</link>
		<comments>http://negev.wordpress.com/2008/09/11/generating-unicode-email-via-mailto-link-in-javascript/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 11:28:44 +0000</pubDate>
		<dc:creator>negev</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Web Interface]]></category>

		<guid isPermaLink="false">http://negev.wordpress.com/?p=85</guid>
		<description><![CDATA[I wanted to generate mailto: link with a subject and body which contained Unicode characters. As an example for Unicode letters I was getting following from a PHP form. The application workflow required that I process any transformation in Javascript rather than on server. %uB9E4%uB274%uC5BC That stands for nice Korean 매뉴얼: javascript:alert( unescape(&#8216;%uB9E4%uB274%uC5BC&#8217;) ) which [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=85&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I wanted to generate mailto: link with a subject and body which contained Unicode characters. As an example for Unicode letters I was getting following from a PHP form. The application workflow required that I process any transformation in Javascript rather than on server.<br />
%uB9E4%uB274%uC5BC</p>
<p>That stands for nice Korean 매뉴얼:<br />
javascript:alert( unescape(&#8216;%uB9E4%uB274%uC5BC&#8217;) )</p>
<p>which in HTML Unicode escapes is (following without spaces, otherwise WordPress shows them as Korean letters):<br />
&amp; #xB9E4;&amp; #xB274;&amp; #xC5BC;</p>
<p>javascript:alert( &#8216;%EB%A7%A4%EB%89%B4%EC%96%BC&#8217; )<br />
-&gt; same Korean letters</p>
<p>javascript:alert( escape(&#8216;%EB%A7%A4%EB%89%B4%EC%96%BC&#8217; ) )<br />
-&gt; %uB9E4%uB274%uC5BC</p>
<p>javascript:alert( encodeURI(&#8216;매뉴얼&#8217; ) )<br />
-&gt; %EB%A7%A4%EB%89%B4%EC%96%BC</p>
<p>So my final transformation was:<br />
var encodedSubject= encodeURI( unescape( &#8216;%uB9E4%uB274%uC5BC&#8217;) );<br />
var encodedBody= encodeURI( unescape( &#8216;%uB9E4%uB274%uC5BC Lala lala&#8217;) );<br />
javascript:window.location.href= &#8216;mailto:?subject=&#8217; +encodedSubject;+ &#8216;&amp;body=&#8217; +encodedBody;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>I&#8217;ve also tried following to  generate HTML escapes of Unicode characters, but it doesn&#8217;t work for URLs:</p>
<p>function url_encoded_unicode_to_html( url ) {<br />
var regex_search= new RegExp( &#8220;%u([0-9a-fA-F]{4,4})&#8221;, &#8220;g&#8221; );<br />
var regex_replace= &#8216;&amp;#x$1;&#8217;;</p>
<p>return url.replace( regex_search, regex_replace ); //( &#8216;/%u([0-9a-fA-F]{4,4})/&#8217;, &#8216;&amp;#x$1;&#8217;, $text );<br />
}</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/negev.wordpress.com/85/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/negev.wordpress.com/85/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/negev.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/negev.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=85&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://negev.wordpress.com/2008/09/11/generating-unicode-email-via-mailto-link-in-javascript/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2fb532a6f3e10545119f477374f05a51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">negev</media:title>
		</media:content>
	</item>
		<item>
		<title>Unicode emails via PHPMailer</title>
		<link>http://negev.wordpress.com/2008/09/11/unicode-emails-via-phpmailer/</link>
		<comments>http://negev.wordpress.com/2008/09/11/unicode-emails-via-phpmailer/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 10:58:03 +0000</pubDate>
		<dc:creator>negev</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Interface]]></category>

		<guid isPermaLink="false">http://negev.wordpress.com/?p=83</guid>
		<description><![CDATA[My web app has a form and then it sends emails via PHPMailer. But it didn&#8217;t work for Unicode messages. I added accept-charset=&#8221;utf-8&#8243; to the &#60;form&#62; tag. Then I changed $CharSet setting from default &#8216;iso-8859-1&#8242; to &#8216;utf-8&#8242;. That worked for Unicode email body, but not for Unicode subject. In order to get Unicode subjects work [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=83&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>My web app has a form and then it sends emails via PHPMailer. But it didn&#8217;t work for Unicode messages.</p>
<p>I added accept-charset=&#8221;utf-8&#8243; to the &lt;form&gt; tag. Then I changed $CharSet setting from default &#8216;iso-8859-1&#8242; to &#8216;utf-8&#8242;. That worked for Unicode email body, but not for Unicode subject. In order to get Unicode subjects work I had to update PHPMailer to version 2.0.2.</p>
<p>var $CharSet           = &#8216;utf-8&#8242;; //&#8217;iso-8859-1&#8242;;<br />
var $ContentType        = &#8216;text/plain&#8217;;<br />
var $Encoding          = &#8217;8bit&#8217;;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/negev.wordpress.com/83/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/negev.wordpress.com/83/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/negev.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/negev.wordpress.com/83/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=83&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://negev.wordpress.com/2008/09/11/unicode-emails-via-phpmailer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2fb532a6f3e10545119f477374f05a51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">negev</media:title>
		</media:content>
	</item>
		<item>
		<title>Limitation of CN length in eDirectory</title>
		<link>http://negev.wordpress.com/2008/08/22/limitation-of-cn-length-in-edirectory/</link>
		<comments>http://negev.wordpress.com/2008/08/22/limitation-of-cn-length-in-edirectory/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 08:42:54 +0000</pubDate>
		<dc:creator>negev</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[eDirectory]]></category>
		<category><![CDATA[LDAP]]></category>

		<guid isPermaLink="false">http://negev.wordpress.com/?p=81</guid>
		<description><![CDATA[Novell&#8217;s eDirectory has limitation of CN length to 64 characters. That is enough for common objects. However, in my application I auto-generated CN out of some long string. I wanted management groups for user containers of a deep tree (5 levels e.g. ou=Happy Branch,ou=Berline,ou=DE,ou=Europe,o=Company). For some practical and user&#8217;s reasons I didn&#8217;t want to copy [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=81&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Novell&#8217;s eDirectory has limitation of CN length to 64 characters. That is enough for common objects.</p>
<p>However, in my application I auto-generated CN out of some long string. I wanted management groups for user containers of a deep tree (5 levels e.g. ou=Happy Branch,ou=Berline,ou=DE,ou=Europe,o=Company). For some practical and user&#8217;s reasons I didn&#8217;t want to copy the container tree structure, so I created objects at the same level with CN made out in reverse &#8211; e.g. Europe-DE-Berlin-Happy Branch. But for some groups their CN got over 64 letters, and that failed. So I created region containers for them and then I created the groups under those region containers, with CN e.g. DE-Berlin-Happy Branch. Problem solved!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/negev.wordpress.com/81/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/negev.wordpress.com/81/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/negev.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/negev.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=negev.wordpress.com&#038;blog=2140781&#038;post=81&#038;subd=negev&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://negev.wordpress.com/2008/08/22/limitation-of-cn-length-in-edirectory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/2fb532a6f3e10545119f477374f05a51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">negev</media:title>
		</media:content>
	</item>
	</channel>
</rss>
