<?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>Perl &#187; work</title>
	<atom:link href="http://perl.baczynski.com/category/work/feed" rel="self" type="application/rss+xml" />
	<link>http://perl.baczynski.com</link>
	<description>Perl, CPAN, YAPC... et ceatera</description>
	<lastBuildDate>Sat, 14 Aug 2010 17:20:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2916</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Perl job = high salary</title>
		<link>http://perl.baczynski.com/work/perl-job-high-salary</link>
		<comments>http://perl.baczynski.com/work/perl-job-high-salary#comments</comments>
		<pubDate>Thu, 29 Apr 2010 04:46:03 +0000</pubDate>
		<dc:creator>Lech</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[perlisnotdead]]></category>

		<guid isPermaLink="false">http://perl.baczynski.com/?p=294</guid>
		<description><![CDATA[


Here is article (in Polish language, but you will surely understand the first bar graph) http://interaktywnie.com/biznes/newsy/raporty-i-badania/tak-w-polsce-placi-sie-pracownikom-it-12414 that shows that Perl developers earn the highest salaries in Poland (50% more than PHP coders)  



The numbers on graph means: length of bar &#8211; monthly salary in polish złoty (currency) &#8211; divde by 4 to get values [...]


See also:<ol><li><a href='http://perl.baczynski.com/future/perl-good-as-java' rel='bookmark' title='Permanent Link: Perl as good as java, python and PHP way above'>Perl as good as java, python and PHP way above</a></li>
<li><a href='http://perl.baczynski.com/future/perl-php-corporate' rel='bookmark' title='Permanent Link: Perl, PHP, corporate &#8211; continued.'>Perl, PHP, corporate &#8211; continued.</a></li>
<li><a href='http://perl.baczynski.com/future/perl-5-10-1' rel='bookmark' title='Permanent Link: Perl 5.10.1'>Perl 5.10.1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here is article (in Polish language, but you will surely understand the <strong>first</strong> bar graph) <a title="perl job salary" rel="nofollow" href="http://interaktywnie.com/biznes/newsy/raporty-i-badania/tak-w-polsce-placi-sie-pracownikom-it-12414" target="_blank">http://interaktywnie.com/biznes/newsy/raporty-i-badania/tak-w-polsce-placi-sie-pracownikom-it-12414</a> that shows that Perl developers earn the highest salaries in Poland (50% more than PHP coders) <img src='http://perl.baczynski.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>The numbers on graph means: length of bar &#8211; monthly salary in polish złoty (currency) &#8211; divde by 4 to get values in Euro, percentage in pink box &#8211; percentage of that language users (perl &#8211; 5%)</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary&amp;partner=sociable" title="Print"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary&amp;title=Perl%20job%20%3D%20high%20salary&amp;bodytext=Here%20is%20article%20%28in%20Polish%20language%2C%20but%20you%20will%20surely%20understand%20the%20first%20bar%20graph%29%20http%3A%2F%2Finteraktywnie.com%2Fbiznes%2Fnewsy%2Fraporty-i-badania%2Ftak-w-polsce-placi-sie-pracownikom-it-12414%20that%20shows%20that%20Perl%20developers%20earn%20the%20highest%20salaries%20in%20" title="Digg"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary&amp;title=Perl%20job%20%3D%20high%20salary&amp;notes=Here%20is%20article%20%28in%20Polish%20language%2C%20but%20you%20will%20surely%20understand%20the%20first%20bar%20graph%29%20http%3A%2F%2Finteraktywnie.com%2Fbiznes%2Fnewsy%2Fraporty-i-badania%2Ftak-w-polsce-placi-sie-pracownikom-it-12414%20that%20shows%20that%20Perl%20developers%20earn%20the%20highest%20salaries%20in%20" title="del.icio.us"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary&amp;t=Perl%20job%20%3D%20high%20salary" title="Facebook"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary&amp;title=Perl%20job%20%3D%20high%20salary" title="Mixx"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary&amp;title=Perl%20job%20%3D%20high%20salary&amp;annotation=Here%20is%20article%20%28in%20Polish%20language%2C%20but%20you%20will%20surely%20understand%20the%20first%20bar%20graph%29%20http%3A%2F%2Finteraktywnie.com%2Fbiznes%2Fnewsy%2Fraporty-i-badania%2Ftak-w-polsce-placi-sie-pracownikom-it-12414%20that%20shows%20that%20Perl%20developers%20earn%20the%20highest%20salaries%20in%20" title="Google Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Perl%20job%20%3D%20high%20salary&amp;body=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary" title="email"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary&amp;title=Perl%20job%20%3D%20high%20salary&amp;source=Perl+Perl%2C+CPAN%2C+YAPC...+et+ceatera&amp;summary=Here%20is%20article%20%28in%20Polish%20language%2C%20but%20you%20will%20surely%20understand%20the%20first%20bar%20graph%29%20http%3A%2F%2Finteraktywnie.com%2Fbiznes%2Fnewsy%2Fraporty-i-badania%2Ftak-w-polsce-placi-sie-pracownikom-it-12414%20that%20shows%20that%20Perl%20developers%20earn%20the%20highest%20salaries%20in%20" title="LinkedIn"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary&amp;t=Perl%20job%20%3D%20high%20salary" title="MySpace"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary&amp;title=Perl%20job%20%3D%20high%20salary" title="Reddit"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://perl.baczynski.com/feed" title="RSS"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Perl%20job%20%3D%20high%20salary&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary" title="Slashdot"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary&amp;title=Perl%20job%20%3D%20high%20salary" title="StumbleUpon"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary%20Perl%20job%20%3D%20high%20salary" title="Suggest to Techmeme via Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary" title="Technorati"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Perl%20job%20%3D%20high%20salary%20-%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary" title="Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="" title="Twitthis"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/" title="Twitthis" alt="Twitthis" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary&amp;t=Perl%20job%20%3D%20high%20salary&opener=bm&amp;ei=UTF-8&amp;d=Here%20is%20article%20%28in%20Polish%20language%2C%20but%20you%20will%20surely%20understand%20the%20first%20bar%20graph%29%20http%3A%2F%2Finteraktywnie.com%2Fbiznes%2Fnewsy%2Fraporty-i-badania%2Ftak-w-polsce-placi-sie-pracownikom-it-12414%20that%20shows%20that%20Perl%20developers%20earn%20the%20highest%20salaries%20in%20" title="Yahoo! Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-job-high-salary&amp;submitHeadline=Perl%20job%20%3D%20high%20salary&amp;submitSummary=Here%20is%20article%20%28in%20Polish%20language%2C%20but%20you%20will%20surely%20understand%20the%20first%20bar%20graph%29%20http%3A%2F%2Finteraktywnie.com%2Fbiznes%2Fnewsy%2Fraporty-i-badania%2Ftak-w-polsce-placi-sie-pracownikom-it-12414%20that%20shows%20that%20Perl%20developers%20earn%20the%20highest%20salaries%20in%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>


<br/><br/>

<p>See also:<ol><li><a href='http://perl.baczynski.com/future/perl-good-as-java' rel='bookmark' title='Permanent Link: Perl as good as java, python and PHP way above'>Perl as good as java, python and PHP way above</a></li>
<li><a href='http://perl.baczynski.com/future/perl-php-corporate' rel='bookmark' title='Permanent Link: Perl, PHP, corporate &#8211; continued.'>Perl, PHP, corporate &#8211; continued.</a></li>
<li><a href='http://perl.baczynski.com/future/perl-5-10-1' rel='bookmark' title='Permanent Link: Perl 5.10.1'>Perl 5.10.1</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://perl.baczynski.com/work/perl-job-high-salary/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Masons and mason</title>
		<link>http://perl.baczynski.com/work/masons-and-mason</link>
		<comments>http://perl.baczynski.com/work/masons-and-mason#comments</comments>
		<pubDate>Wed, 31 Mar 2010 04:57:59 +0000</pubDate>
		<dc:creator>Lech</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[perlisnotdead]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://perl.baczynski.com/?p=272</guid>
		<description><![CDATA[I&#8217;m reading now a book by Dan Brown, author of &#8220;DaVinci code&#8221;, titled &#8220;Lost symbol&#8221;. It is mostly about masons. And it quite resemble the previous books by this author. Anyway, it is riveting.
This seemingly off-topic introduction leads to the on-topic perl thing: the mason. It is a &#8220;High-performance, dynamic web site authoring system&#8221; and [...]


See also:<ol><li><a href='http://perl.baczynski.com/work/website-login-with-perl' rel='bookmark' title='Permanent Link: Website login with Perl'>Website login with Perl</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-perl-application-lamp-dbi' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; dbi, mysql'>Utf8 in web perl application (LAMP) &#8211; dbi, mysql</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m reading now a book by Dan Brown, author of &#8220;DaVinci code&#8221;, titled &#8220;Lost symbol&#8221;. It is mostly about masons. And it quite resemble the previous books by this author. Anyway, it is riveting.</p>
<p>This seemingly off-topic introduction leads to the on-topic perl thing:<a title="mason hq" href="http://www.masonhq.com/" target="_blank"> the mason</a>. It is a &#8220;High-performance, dynamic web site authoring system&#8221; and &#8220;solves the common problems of site development: caching, debugging, templating, maintaining development and production sites, and more.&#8221; and &#8220;you can embed Perl code in your HTML and construct pages from shared, reusable components.&#8221;. Well, sound nice. How it looks? Like this:</p>
<p>(there was something wrong here. I removed it <img src='http://perl.baczynski.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )<br />
<!--</p>
<pre>[% page_title = "List all books" %]
[% INCLUDE header.tt %]

&lt;ul&gt;
[% FOREACH book = books %]
&lt;li&gt;[% book.title %] ([% book.author.name %])
[% FOREACH review = book.reviews %]
(&lt;a href=&#8221;review.cgi?review=[% review.uid %]&#8220;&gt;Read review
by [% review.reviewer.name %]&lt;/a&gt;)
[% END %]
&lt;/li&gt;
[% END %]
&lt;/ul&gt;

[% INCLUDE footer.tt %]
</pre>
<p>Source: <a href="http://www.perl.com/pub/a/2003/07/15/nocode.html">http://www.perl.com/pub/a/2003/07/15/nocode.html</a>. Not so pretty.<br />
--></p>
<p>Sadly, the FAQ on the official page seems to be neglected and is spammed by merchants of medications made to make your weenie harder. On the other hand, newest version is 1.44 form Jan 4, 2010 - so it is still developed.</p>
<p>Assuming that I would like to learn something new, like "something big, modern, to easy make web applications - with templates, cache, scalability, quick development" should I dive into mason, or better look for something else?</p>
<p>So, I have question, asking <strong>YOU</strong> for an insight about this<em> like:</em><br />
- <em>mason</em> is cool, and at least better to do the same by your own from scratch<br />
- forget it, it is so 1990's, learn <em>catalyst</em> instead<br />
- forget mason and catalyst, learn PHP <em>symphony</em> (- no problem for me, I know PHP - more or less <img src='http://perl.baczynski.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )<br />
- ruby <em>on rails</em> is the real thing (no, I will not learn ruby - at least now <img src='http://perl.baczynski.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )<br />
- the best is framework .... (something not mentioned above)</p>
<p>Please write your opinion below. Thank you.</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason&amp;partner=sociable" title="Print"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason&amp;title=Masons%20and%20mason&amp;bodytext=I%27m%20reading%20now%20a%20book%20by%20Dan%20Brown%2C%20author%20of%20%22DaVinci%20code%22%2C%20titled%20%22Lost%20symbol%22.%20It%20is%20mostly%20about%20masons.%20And%20it%20quite%20resemble%20the%20previous%20books%20by%20this%20author.%20Anyway%2C%20it%20is%20riveting.%0D%0A%0D%0AThis%20seemingly%20off-topic%20introduction%20leads%20to%20the%20on-" title="Digg"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason&amp;title=Masons%20and%20mason&amp;notes=I%27m%20reading%20now%20a%20book%20by%20Dan%20Brown%2C%20author%20of%20%22DaVinci%20code%22%2C%20titled%20%22Lost%20symbol%22.%20It%20is%20mostly%20about%20masons.%20And%20it%20quite%20resemble%20the%20previous%20books%20by%20this%20author.%20Anyway%2C%20it%20is%20riveting.%0D%0A%0D%0AThis%20seemingly%20off-topic%20introduction%20leads%20to%20the%20on-" title="del.icio.us"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason&amp;t=Masons%20and%20mason" title="Facebook"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason&amp;title=Masons%20and%20mason" title="Mixx"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason&amp;title=Masons%20and%20mason&amp;annotation=I%27m%20reading%20now%20a%20book%20by%20Dan%20Brown%2C%20author%20of%20%22DaVinci%20code%22%2C%20titled%20%22Lost%20symbol%22.%20It%20is%20mostly%20about%20masons.%20And%20it%20quite%20resemble%20the%20previous%20books%20by%20this%20author.%20Anyway%2C%20it%20is%20riveting.%0D%0A%0D%0AThis%20seemingly%20off-topic%20introduction%20leads%20to%20the%20on-" title="Google Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Masons%20and%20mason&amp;body=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason" title="email"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason&amp;title=Masons%20and%20mason&amp;source=Perl+Perl%2C+CPAN%2C+YAPC...+et+ceatera&amp;summary=I%27m%20reading%20now%20a%20book%20by%20Dan%20Brown%2C%20author%20of%20%22DaVinci%20code%22%2C%20titled%20%22Lost%20symbol%22.%20It%20is%20mostly%20about%20masons.%20And%20it%20quite%20resemble%20the%20previous%20books%20by%20this%20author.%20Anyway%2C%20it%20is%20riveting.%0D%0A%0D%0AThis%20seemingly%20off-topic%20introduction%20leads%20to%20the%20on-" title="LinkedIn"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason&amp;t=Masons%20and%20mason" title="MySpace"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason&amp;title=Masons%20and%20mason" title="Reddit"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://perl.baczynski.com/feed" title="RSS"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Masons%20and%20mason&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason" title="Slashdot"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason&amp;title=Masons%20and%20mason" title="StumbleUpon"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason%20Masons%20and%20mason" title="Suggest to Techmeme via Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason" title="Technorati"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Masons%20and%20mason%20-%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason" title="Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="" title="Twitthis"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/" title="Twitthis" alt="Twitthis" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason&amp;t=Masons%20and%20mason&opener=bm&amp;ei=UTF-8&amp;d=I%27m%20reading%20now%20a%20book%20by%20Dan%20Brown%2C%20author%20of%20%22DaVinci%20code%22%2C%20titled%20%22Lost%20symbol%22.%20It%20is%20mostly%20about%20masons.%20And%20it%20quite%20resemble%20the%20previous%20books%20by%20this%20author.%20Anyway%2C%20it%20is%20riveting.%0D%0A%0D%0AThis%20seemingly%20off-topic%20introduction%20leads%20to%20the%20on-" title="Yahoo! Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fmasons-and-mason&amp;submitHeadline=Masons%20and%20mason&amp;submitSummary=I%27m%20reading%20now%20a%20book%20by%20Dan%20Brown%2C%20author%20of%20%22DaVinci%20code%22%2C%20titled%20%22Lost%20symbol%22.%20It%20is%20mostly%20about%20masons.%20And%20it%20quite%20resemble%20the%20previous%20books%20by%20this%20author.%20Anyway%2C%20it%20is%20riveting.%0D%0A%0D%0AThis%20seemingly%20off-topic%20introduction%20leads%20to%20the%20on-&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>


<br/><br/>

<p>See also:<ol><li><a href='http://perl.baczynski.com/work/website-login-with-perl' rel='bookmark' title='Permanent Link: Website login with Perl'>Website login with Perl</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-perl-application-lamp-dbi' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; dbi, mysql'>Utf8 in web perl application (LAMP) &#8211; dbi, mysql</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://perl.baczynski.com/work/masons-and-mason/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to easily resige images in Perl</title>
		<link>http://perl.baczynski.com/work/how-resize-images</link>
		<comments>http://perl.baczynski.com/work/how-resize-images#comments</comments>
		<pubDate>Wed, 17 Mar 2010 04:46:06 +0000</pubDate>
		<dc:creator>Lech</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[resources]]></category>

		<guid isPermaLink="false">http://perl.baczynski.com/?p=256</guid>
		<description><![CDATA[How to easily resize images (jpg) in perl? Use Image::resize
use Image::Resize;
use autodie;

$src = "bigimage.jpg";
my $old = Image::Resize-&#62;new($src);
my $new = $old-&#62;resize(200, 300); # max dimensions

$jpegdata = $new-&#62;jpeg(95); # jpeg quality

open OUT, "&#62;./smaller/$src";
print OUT $jpegdata;
close OUT;




Share and Enjoy:


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	




See also:installing from CPAN without root
Utf8 in web perl application (LAMP) &#8211; dbi, mysql
Utf8 in web perl application (LAMP) &#8211; [...]


See also:<ol><li><a href='http://perl.baczynski.com/cpan/installing-cpan-without-root' rel='bookmark' title='Permanent Link: installing from CPAN without root'>installing from CPAN without root</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-perl-application-lamp-dbi' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; dbi, mysql'>Utf8 in web perl application (LAMP) &#8211; dbi, mysql</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-application-charse' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; binmode, charset'>Utf8 in web perl application (LAMP) &#8211; binmode, charset</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>How to easily resize images (jpg) in perl? Use Image::resize</p>
<pre>use Image::Resize;
use autodie;

$src = "bigimage.jpg";
my $old = Image::Resize-&gt;new($src);
my $new = $old-&gt;resize(200, 300); # max dimensions

$jpegdata = $new-&gt;jpeg(95); # jpeg quality

open OUT, "&gt;./smaller/$src";
print OUT $jpegdata;
close OUT;
</pre>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images&amp;partner=sociable" title="Print"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images&amp;title=How%20to%20easily%20resige%20images%20in%20Perl&amp;bodytext=How%20to%20easily%20resize%20images%20%28jpg%29%20in%20perl%3F%20Use%20Image%3A%3Aresize%0D%0Ause%20Image%3A%3AResize%3B%0D%0Ause%20autodie%3B%0D%0A%0D%0A%24src%20%3D%20%22bigimage.jpg%22%3B%0D%0Amy%20%24old%20%3D%20Image%3A%3AResize-%26gt%3Bnew%28%24src%29%3B%0D%0Amy%20%24new%20%3D%20%24old-%26gt%3Bresize%28200%2C%20300%29%3B%20%23%20max%20dimensions%0D%0A%0D%0A%24jpegdata%20%3D%20%24new-%26gt%3Bjpeg%2895%29%3B%20" title="Digg"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images&amp;title=How%20to%20easily%20resige%20images%20in%20Perl&amp;notes=How%20to%20easily%20resize%20images%20%28jpg%29%20in%20perl%3F%20Use%20Image%3A%3Aresize%0D%0Ause%20Image%3A%3AResize%3B%0D%0Ause%20autodie%3B%0D%0A%0D%0A%24src%20%3D%20%22bigimage.jpg%22%3B%0D%0Amy%20%24old%20%3D%20Image%3A%3AResize-%26gt%3Bnew%28%24src%29%3B%0D%0Amy%20%24new%20%3D%20%24old-%26gt%3Bresize%28200%2C%20300%29%3B%20%23%20max%20dimensions%0D%0A%0D%0A%24jpegdata%20%3D%20%24new-%26gt%3Bjpeg%2895%29%3B%20" title="del.icio.us"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images&amp;t=How%20to%20easily%20resige%20images%20in%20Perl" title="Facebook"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images&amp;title=How%20to%20easily%20resige%20images%20in%20Perl" title="Mixx"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images&amp;title=How%20to%20easily%20resige%20images%20in%20Perl&amp;annotation=How%20to%20easily%20resize%20images%20%28jpg%29%20in%20perl%3F%20Use%20Image%3A%3Aresize%0D%0Ause%20Image%3A%3AResize%3B%0D%0Ause%20autodie%3B%0D%0A%0D%0A%24src%20%3D%20%22bigimage.jpg%22%3B%0D%0Amy%20%24old%20%3D%20Image%3A%3AResize-%26gt%3Bnew%28%24src%29%3B%0D%0Amy%20%24new%20%3D%20%24old-%26gt%3Bresize%28200%2C%20300%29%3B%20%23%20max%20dimensions%0D%0A%0D%0A%24jpegdata%20%3D%20%24new-%26gt%3Bjpeg%2895%29%3B%20" title="Google Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=How%20to%20easily%20resige%20images%20in%20Perl&amp;body=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images" title="email"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images&amp;title=How%20to%20easily%20resige%20images%20in%20Perl&amp;source=Perl+Perl%2C+CPAN%2C+YAPC...+et+ceatera&amp;summary=How%20to%20easily%20resize%20images%20%28jpg%29%20in%20perl%3F%20Use%20Image%3A%3Aresize%0D%0Ause%20Image%3A%3AResize%3B%0D%0Ause%20autodie%3B%0D%0A%0D%0A%24src%20%3D%20%22bigimage.jpg%22%3B%0D%0Amy%20%24old%20%3D%20Image%3A%3AResize-%26gt%3Bnew%28%24src%29%3B%0D%0Amy%20%24new%20%3D%20%24old-%26gt%3Bresize%28200%2C%20300%29%3B%20%23%20max%20dimensions%0D%0A%0D%0A%24jpegdata%20%3D%20%24new-%26gt%3Bjpeg%2895%29%3B%20" title="LinkedIn"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images&amp;t=How%20to%20easily%20resige%20images%20in%20Perl" title="MySpace"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images&amp;title=How%20to%20easily%20resige%20images%20in%20Perl" title="Reddit"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://perl.baczynski.com/feed" title="RSS"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=How%20to%20easily%20resige%20images%20in%20Perl&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images" title="Slashdot"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images&amp;title=How%20to%20easily%20resige%20images%20in%20Perl" title="StumbleUpon"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images%20How%20to%20easily%20resige%20images%20in%20Perl" title="Suggest to Techmeme via Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images" title="Technorati"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=How%20to%20easily%20resige%20images%20in%20Perl%20-%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images" title="Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="" title="Twitthis"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/" title="Twitthis" alt="Twitthis" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images&amp;t=How%20to%20easily%20resige%20images%20in%20Perl&opener=bm&amp;ei=UTF-8&amp;d=How%20to%20easily%20resize%20images%20%28jpg%29%20in%20perl%3F%20Use%20Image%3A%3Aresize%0D%0Ause%20Image%3A%3AResize%3B%0D%0Ause%20autodie%3B%0D%0A%0D%0A%24src%20%3D%20%22bigimage.jpg%22%3B%0D%0Amy%20%24old%20%3D%20Image%3A%3AResize-%26gt%3Bnew%28%24src%29%3B%0D%0Amy%20%24new%20%3D%20%24old-%26gt%3Bresize%28200%2C%20300%29%3B%20%23%20max%20dimensions%0D%0A%0D%0A%24jpegdata%20%3D%20%24new-%26gt%3Bjpeg%2895%29%3B%20" title="Yahoo! Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fhow-resize-images&amp;submitHeadline=How%20to%20easily%20resige%20images%20in%20Perl&amp;submitSummary=How%20to%20easily%20resize%20images%20%28jpg%29%20in%20perl%3F%20Use%20Image%3A%3Aresize%0D%0Ause%20Image%3A%3AResize%3B%0D%0Ause%20autodie%3B%0D%0A%0D%0A%24src%20%3D%20%22bigimage.jpg%22%3B%0D%0Amy%20%24old%20%3D%20Image%3A%3AResize-%26gt%3Bnew%28%24src%29%3B%0D%0Amy%20%24new%20%3D%20%24old-%26gt%3Bresize%28200%2C%20300%29%3B%20%23%20max%20dimensions%0D%0A%0D%0A%24jpegdata%20%3D%20%24new-%26gt%3Bjpeg%2895%29%3B%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>


<br/><br/>

<p>See also:<ol><li><a href='http://perl.baczynski.com/cpan/installing-cpan-without-root' rel='bookmark' title='Permanent Link: installing from CPAN without root'>installing from CPAN without root</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-perl-application-lamp-dbi' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; dbi, mysql'>Utf8 in web perl application (LAMP) &#8211; dbi, mysql</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-application-charse' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; binmode, charset'>Utf8 in web perl application (LAMP) &#8211; binmode, charset</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://perl.baczynski.com/work/how-resize-images/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl 5.11.3</title>
		<link>http://perl.baczynski.com/work/perl-5-11-3</link>
		<comments>http://perl.baczynski.com/work/perl-5-11-3#comments</comments>
		<pubDate>Wed, 20 Jan 2010 04:55:27 +0000</pubDate>
		<dc:creator>Lech</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[versions]]></category>

		<guid isPermaLink="false">http://perl.baczynski.com/?p=209</guid>
		<description><![CDATA[New version of perl &#8211; 5.11.3 was released. The next version will be (as they hope) 5.12
Waht is new in perl 5.11.3?


 Perl is shipped with Unicode version 5.2, itself released in  October 2009.
Perl can now handle every Unicode character property.
The experimental &#8216;legacy&#8217; pragma, introduced with Perl 5.11.2 has been removed. Its functionality has [...]


See also:<ol><li><a href='http://perl.baczynski.com/yapc/perl-wtfs-last-in-function' rel='bookmark' title='Permanent Link: Perl WTFs &#8211; last in function'>Perl WTFs &#8211; last in function</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
<li><a href='http://perl.baczynski.com/perl-6/inevitable-parrot-2' rel='bookmark' title='Permanent Link: Inevitable parrot 2'>Inevitable parrot 2</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>New version of perl &#8211; 5.11.3 was released. The next version will be (as they hope) 5.12</p>
<p>Waht is new in perl 5.11.3?</p>
<blockquote>
<ul>
<li><em> Perl is shipped with Unicode version 5.2, itself released in  October </em>2009.</li>
<li><em>Perl can now handle every Unicode character property.</em></li>
<li><em>The experimental &#8216;legacy&#8217; pragma, introduced with Perl 5.11.2 has been </em>removed. Its functionality has been replaced with the &#8216;feature&#8217; pragma.</li>
<li><em>Numerous CPAN &#8220;toolchain&#8221; modules have been updated to what we hope </em>are the final release versions for Perl 5.12.0.</li>
<li><em> Many crashing bugs or regressions from earlier releases of Perl were fixed</em><em> for this release.<br />
</em></li>
</ul>
</blockquote>
<p>In my opinion is is very good, that perl 5 is still developed, as version 6 have still a long way to go, before it may be used (first, by enthusiasts, then by  coders, next by big companies that need reliability and stability)</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3&amp;partner=sociable" title="Print"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3&amp;title=Perl%205.11.3&amp;bodytext=New%20version%20of%20perl%20-%205.11.3%20was%20released.%20The%20next%20version%20will%20be%20%28as%20they%20hope%29%205.12%0D%0A%0D%0AWaht%20is%20new%20in%20perl%205.11.3%3F%0D%0A%0D%0A%0D%0A%09%20Perl%20is%20shipped%20with%20Unicode%20version%205.2%2C%20itself%20released%20in%20%20October%202009.%0D%0A%09Perl%20can%20now%20handle%20every%20Unicode%20character%20pr" title="Digg"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3&amp;title=Perl%205.11.3&amp;notes=New%20version%20of%20perl%20-%205.11.3%20was%20released.%20The%20next%20version%20will%20be%20%28as%20they%20hope%29%205.12%0D%0A%0D%0AWaht%20is%20new%20in%20perl%205.11.3%3F%0D%0A%0D%0A%0D%0A%09%20Perl%20is%20shipped%20with%20Unicode%20version%205.2%2C%20itself%20released%20in%20%20October%202009.%0D%0A%09Perl%20can%20now%20handle%20every%20Unicode%20character%20pr" title="del.icio.us"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3&amp;t=Perl%205.11.3" title="Facebook"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3&amp;title=Perl%205.11.3" title="Mixx"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3&amp;title=Perl%205.11.3&amp;annotation=New%20version%20of%20perl%20-%205.11.3%20was%20released.%20The%20next%20version%20will%20be%20%28as%20they%20hope%29%205.12%0D%0A%0D%0AWaht%20is%20new%20in%20perl%205.11.3%3F%0D%0A%0D%0A%0D%0A%09%20Perl%20is%20shipped%20with%20Unicode%20version%205.2%2C%20itself%20released%20in%20%20October%202009.%0D%0A%09Perl%20can%20now%20handle%20every%20Unicode%20character%20pr" title="Google Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Perl%205.11.3&amp;body=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3" title="email"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3&amp;title=Perl%205.11.3&amp;source=Perl+Perl%2C+CPAN%2C+YAPC...+et+ceatera&amp;summary=New%20version%20of%20perl%20-%205.11.3%20was%20released.%20The%20next%20version%20will%20be%20%28as%20they%20hope%29%205.12%0D%0A%0D%0AWaht%20is%20new%20in%20perl%205.11.3%3F%0D%0A%0D%0A%0D%0A%09%20Perl%20is%20shipped%20with%20Unicode%20version%205.2%2C%20itself%20released%20in%20%20October%202009.%0D%0A%09Perl%20can%20now%20handle%20every%20Unicode%20character%20pr" title="LinkedIn"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3&amp;t=Perl%205.11.3" title="MySpace"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3&amp;title=Perl%205.11.3" title="Reddit"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://perl.baczynski.com/feed" title="RSS"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Perl%205.11.3&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3" title="Slashdot"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3&amp;title=Perl%205.11.3" title="StumbleUpon"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3%20Perl%205.11.3" title="Suggest to Techmeme via Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3" title="Technorati"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Perl%205.11.3%20-%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3" title="Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="" title="Twitthis"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/" title="Twitthis" alt="Twitthis" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3&amp;t=Perl%205.11.3&opener=bm&amp;ei=UTF-8&amp;d=New%20version%20of%20perl%20-%205.11.3%20was%20released.%20The%20next%20version%20will%20be%20%28as%20they%20hope%29%205.12%0D%0A%0D%0AWaht%20is%20new%20in%20perl%205.11.3%3F%0D%0A%0D%0A%0D%0A%09%20Perl%20is%20shipped%20with%20Unicode%20version%205.2%2C%20itself%20released%20in%20%20October%202009.%0D%0A%09Perl%20can%20now%20handle%20every%20Unicode%20character%20pr" title="Yahoo! Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Fperl-5-11-3&amp;submitHeadline=Perl%205.11.3&amp;submitSummary=New%20version%20of%20perl%20-%205.11.3%20was%20released.%20The%20next%20version%20will%20be%20%28as%20they%20hope%29%205.12%0D%0A%0D%0AWaht%20is%20new%20in%20perl%205.11.3%3F%0D%0A%0D%0A%0D%0A%09%20Perl%20is%20shipped%20with%20Unicode%20version%205.2%2C%20itself%20released%20in%20%20October%202009.%0D%0A%09Perl%20can%20now%20handle%20every%20Unicode%20character%20pr&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>


<br/><br/>

<p>See also:<ol><li><a href='http://perl.baczynski.com/yapc/perl-wtfs-last-in-function' rel='bookmark' title='Permanent Link: Perl WTFs &#8211; last in function'>Perl WTFs &#8211; last in function</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
<li><a href='http://perl.baczynski.com/perl-6/inevitable-parrot-2' rel='bookmark' title='Permanent Link: Inevitable parrot 2'>Inevitable parrot 2</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://perl.baczynski.com/work/perl-5-11-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unicode horror &#8211; nice tool to convert</title>
		<link>http://perl.baczynski.com/work/unicode-tool-convert</link>
		<comments>http://perl.baczynski.com/work/unicode-tool-convert#comments</comments>
		<pubDate>Wed, 13 Jan 2010 04:59:26 +0000</pubDate>
		<dc:creator>Lech</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[utf8]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://perl.baczynski.com/?p=199</guid>
		<description><![CDATA[Here is a nice tool to convert for example different characters to percent encoding for URIs, 0x notation, decimal code points etc; (by Richard Ishida):
http://rishida.net/tools/conversion/
Ok, it is not strictly related to perl , but I guess it may be handy for people that were interested in the &#8220;utf at LAMP horror&#8221; cycle.



Share and Enjoy:


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	




See also:Utf8 [...]


See also:<ol><li><a href='http://perl.baczynski.com/work/utf8-horror-at-lamp-part-5' rel='bookmark' title='Permanent Link: Utf8 horror at LAMP &#8211; accept charset'>Utf8 horror at LAMP &#8211; accept charset</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-lamp-encod' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode'>Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here is a nice tool to convert for example different characters to percent encoding for URIs, 0x notation, decimal code points etc; (by Richard Ishida):</p>
<p><a href="http://rishida.net/tools/conversion/">http://rishida.net/tools/conversion/</a></p>
<p>Ok, it is not strictly related to perl , but I guess it may be handy for people that were interested in the &#8220;utf at LAMP horror&#8221; cycle.</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert&amp;partner=sociable" title="Print"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert&amp;title=Unicode%20horror%20-%20nice%20tool%20to%20convert&amp;bodytext=Here%20is%20a%20nice%20tool%20to%20convert%20for%20example%20different%20characters%20to%20percent%20encoding%20for%20URIs%2C%200x%20notation%2C%20decimal%20code%20points%20etc%3B%20%28by%20Richard%20Ishida%29%3A%0D%0A%0D%0Ahttp%3A%2F%2Frishida.net%2Ftools%2Fconversion%2F%0D%0A%0D%0AOk%2C%20it%20is%20not%20strictly%20related%20to%20perl%20%2C%20but%20I%20guess%20i" title="Digg"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert&amp;title=Unicode%20horror%20-%20nice%20tool%20to%20convert&amp;notes=Here%20is%20a%20nice%20tool%20to%20convert%20for%20example%20different%20characters%20to%20percent%20encoding%20for%20URIs%2C%200x%20notation%2C%20decimal%20code%20points%20etc%3B%20%28by%20Richard%20Ishida%29%3A%0D%0A%0D%0Ahttp%3A%2F%2Frishida.net%2Ftools%2Fconversion%2F%0D%0A%0D%0AOk%2C%20it%20is%20not%20strictly%20related%20to%20perl%20%2C%20but%20I%20guess%20i" title="del.icio.us"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert&amp;t=Unicode%20horror%20-%20nice%20tool%20to%20convert" title="Facebook"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert&amp;title=Unicode%20horror%20-%20nice%20tool%20to%20convert" title="Mixx"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert&amp;title=Unicode%20horror%20-%20nice%20tool%20to%20convert&amp;annotation=Here%20is%20a%20nice%20tool%20to%20convert%20for%20example%20different%20characters%20to%20percent%20encoding%20for%20URIs%2C%200x%20notation%2C%20decimal%20code%20points%20etc%3B%20%28by%20Richard%20Ishida%29%3A%0D%0A%0D%0Ahttp%3A%2F%2Frishida.net%2Ftools%2Fconversion%2F%0D%0A%0D%0AOk%2C%20it%20is%20not%20strictly%20related%20to%20perl%20%2C%20but%20I%20guess%20i" title="Google Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Unicode%20horror%20-%20nice%20tool%20to%20convert&amp;body=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert" title="email"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert&amp;title=Unicode%20horror%20-%20nice%20tool%20to%20convert&amp;source=Perl+Perl%2C+CPAN%2C+YAPC...+et+ceatera&amp;summary=Here%20is%20a%20nice%20tool%20to%20convert%20for%20example%20different%20characters%20to%20percent%20encoding%20for%20URIs%2C%200x%20notation%2C%20decimal%20code%20points%20etc%3B%20%28by%20Richard%20Ishida%29%3A%0D%0A%0D%0Ahttp%3A%2F%2Frishida.net%2Ftools%2Fconversion%2F%0D%0A%0D%0AOk%2C%20it%20is%20not%20strictly%20related%20to%20perl%20%2C%20but%20I%20guess%20i" title="LinkedIn"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert&amp;t=Unicode%20horror%20-%20nice%20tool%20to%20convert" title="MySpace"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert&amp;title=Unicode%20horror%20-%20nice%20tool%20to%20convert" title="Reddit"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://perl.baczynski.com/feed" title="RSS"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Unicode%20horror%20-%20nice%20tool%20to%20convert&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert" title="Slashdot"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert&amp;title=Unicode%20horror%20-%20nice%20tool%20to%20convert" title="StumbleUpon"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert%20Unicode%20horror%20-%20nice%20tool%20to%20convert" title="Suggest to Techmeme via Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert" title="Technorati"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Unicode%20horror%20-%20nice%20tool%20to%20convert%20-%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert" title="Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="" title="Twitthis"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/" title="Twitthis" alt="Twitthis" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert&amp;t=Unicode%20horror%20-%20nice%20tool%20to%20convert&opener=bm&amp;ei=UTF-8&amp;d=Here%20is%20a%20nice%20tool%20to%20convert%20for%20example%20different%20characters%20to%20percent%20encoding%20for%20URIs%2C%200x%20notation%2C%20decimal%20code%20points%20etc%3B%20%28by%20Richard%20Ishida%29%3A%0D%0A%0D%0Ahttp%3A%2F%2Frishida.net%2Ftools%2Fconversion%2F%0D%0A%0D%0AOk%2C%20it%20is%20not%20strictly%20related%20to%20perl%20%2C%20but%20I%20guess%20i" title="Yahoo! Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Funicode-tool-convert&amp;submitHeadline=Unicode%20horror%20-%20nice%20tool%20to%20convert&amp;submitSummary=Here%20is%20a%20nice%20tool%20to%20convert%20for%20example%20different%20characters%20to%20percent%20encoding%20for%20URIs%2C%200x%20notation%2C%20decimal%20code%20points%20etc%3B%20%28by%20Richard%20Ishida%29%3A%0D%0A%0D%0Ahttp%3A%2F%2Frishida.net%2Ftools%2Fconversion%2F%0D%0A%0D%0AOk%2C%20it%20is%20not%20strictly%20related%20to%20perl%20%2C%20but%20I%20guess%20i&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>


<br/><br/>

<p>See also:<ol><li><a href='http://perl.baczynski.com/work/utf8-horror-at-lamp-part-5' rel='bookmark' title='Permanent Link: Utf8 horror at LAMP &#8211; accept charset'>Utf8 horror at LAMP &#8211; accept charset</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-lamp-encod' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode'>Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://perl.baczynski.com/work/unicode-tool-convert/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Utf8 horror at LAMP &#8211; accept charset</title>
		<link>http://perl.baczynski.com/work/utf8-horror-at-lamp-part-5</link>
		<comments>http://perl.baczynski.com/work/utf8-horror-at-lamp-part-5#comments</comments>
		<pubDate>Wed, 30 Dec 2009 04:55:38 +0000</pubDate>
		<dc:creator>Lech</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[utf8]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://perl.baczynski.com/?p=168</guid>
		<description><![CDATA[Continuing the never ending saga of perl / utf horror:
&#60;form method=&#8221;post&#8221; accept-charset=&#8221;utf-8&#8243; action=&#8221;&#8230;&#8221;&#62;
Well, I never used it&#8230; and my web app works.
Is this accept-charset really needed? Do you know?



Share and Enjoy:


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	




See also:Utf8 in web perl application (LAMP) &#8211; binmode, charset
Utf8 in web perl application (LAMP) &#8211; dbi, mysql
Utf8 in web perl application (LAMP)



See also:<ol><li><a href='http://perl.baczynski.com/work/utf8-web-perl-application-charse' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; binmode, charset'>Utf8 in web perl application (LAMP) &#8211; binmode, charset</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-perl-application-lamp-dbi' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; dbi, mysql'>Utf8 in web perl application (LAMP) &#8211; dbi, mysql</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Continuing the never ending saga of perl / utf horror:</p>
<blockquote><p>&lt;form method=&#8221;post&#8221; accept-charset=&#8221;utf-8&#8243; action=&#8221;&#8230;&#8221;&gt;</p></blockquote>
<p>Well, I never used it&#8230; and my web app works.</p>
<p>Is this accept-charset really needed? Do you know?</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5&amp;partner=sociable" title="Print"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5&amp;title=Utf8%20horror%20at%20LAMP%20-%20accept%20charset&amp;bodytext=Continuing%20the%20never%20ending%20saga%20of%20perl%20%2F%20utf%20horror%3A%0D%0A%26lt%3Bform%20method%3D%22post%22%20accept-charset%3D%22utf-8%22%20action%3D%22...%22%26gt%3B%0D%0AWell%2C%20I%20never%20used%20it...%20and%20my%20web%20app%20works.%0D%0A%0D%0AIs%20this%20accept-charset%20really%20needed%3F%20Do%20you%20know%3F" title="Digg"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5&amp;title=Utf8%20horror%20at%20LAMP%20-%20accept%20charset&amp;notes=Continuing%20the%20never%20ending%20saga%20of%20perl%20%2F%20utf%20horror%3A%0D%0A%26lt%3Bform%20method%3D%22post%22%20accept-charset%3D%22utf-8%22%20action%3D%22...%22%26gt%3B%0D%0AWell%2C%20I%20never%20used%20it...%20and%20my%20web%20app%20works.%0D%0A%0D%0AIs%20this%20accept-charset%20really%20needed%3F%20Do%20you%20know%3F" title="del.icio.us"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5&amp;t=Utf8%20horror%20at%20LAMP%20-%20accept%20charset" title="Facebook"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5&amp;title=Utf8%20horror%20at%20LAMP%20-%20accept%20charset" title="Mixx"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5&amp;title=Utf8%20horror%20at%20LAMP%20-%20accept%20charset&amp;annotation=Continuing%20the%20never%20ending%20saga%20of%20perl%20%2F%20utf%20horror%3A%0D%0A%26lt%3Bform%20method%3D%22post%22%20accept-charset%3D%22utf-8%22%20action%3D%22...%22%26gt%3B%0D%0AWell%2C%20I%20never%20used%20it...%20and%20my%20web%20app%20works.%0D%0A%0D%0AIs%20this%20accept-charset%20really%20needed%3F%20Do%20you%20know%3F" title="Google Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Utf8%20horror%20at%20LAMP%20-%20accept%20charset&amp;body=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5" title="email"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5&amp;title=Utf8%20horror%20at%20LAMP%20-%20accept%20charset&amp;source=Perl+Perl%2C+CPAN%2C+YAPC...+et+ceatera&amp;summary=Continuing%20the%20never%20ending%20saga%20of%20perl%20%2F%20utf%20horror%3A%0D%0A%26lt%3Bform%20method%3D%22post%22%20accept-charset%3D%22utf-8%22%20action%3D%22...%22%26gt%3B%0D%0AWell%2C%20I%20never%20used%20it...%20and%20my%20web%20app%20works.%0D%0A%0D%0AIs%20this%20accept-charset%20really%20needed%3F%20Do%20you%20know%3F" title="LinkedIn"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5&amp;t=Utf8%20horror%20at%20LAMP%20-%20accept%20charset" title="MySpace"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5&amp;title=Utf8%20horror%20at%20LAMP%20-%20accept%20charset" title="Reddit"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://perl.baczynski.com/feed" title="RSS"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Utf8%20horror%20at%20LAMP%20-%20accept%20charset&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5" title="Slashdot"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5&amp;title=Utf8%20horror%20at%20LAMP%20-%20accept%20charset" title="StumbleUpon"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5%20Utf8%20horror%20at%20LAMP%20-%20accept%20charset" title="Suggest to Techmeme via Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5" title="Technorati"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Utf8%20horror%20at%20LAMP%20-%20accept%20charset%20-%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5" title="Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="" title="Twitthis"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/" title="Twitthis" alt="Twitthis" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5&amp;t=Utf8%20horror%20at%20LAMP%20-%20accept%20charset&opener=bm&amp;ei=UTF-8&amp;d=Continuing%20the%20never%20ending%20saga%20of%20perl%20%2F%20utf%20horror%3A%0D%0A%26lt%3Bform%20method%3D%22post%22%20accept-charset%3D%22utf-8%22%20action%3D%22...%22%26gt%3B%0D%0AWell%2C%20I%20never%20used%20it...%20and%20my%20web%20app%20works.%0D%0A%0D%0AIs%20this%20accept-charset%20really%20needed%3F%20Do%20you%20know%3F" title="Yahoo! Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-horror-at-lamp-part-5&amp;submitHeadline=Utf8%20horror%20at%20LAMP%20-%20accept%20charset&amp;submitSummary=Continuing%20the%20never%20ending%20saga%20of%20perl%20%2F%20utf%20horror%3A%0D%0A%26lt%3Bform%20method%3D%22post%22%20accept-charset%3D%22utf-8%22%20action%3D%22...%22%26gt%3B%0D%0AWell%2C%20I%20never%20used%20it...%20and%20my%20web%20app%20works.%0D%0A%0D%0AIs%20this%20accept-charset%20really%20needed%3F%20Do%20you%20know%3F&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>


<br/><br/>

<p>See also:<ol><li><a href='http://perl.baczynski.com/work/utf8-web-perl-application-charse' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; binmode, charset'>Utf8 in web perl application (LAMP) &#8211; binmode, charset</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-perl-application-lamp-dbi' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; dbi, mysql'>Utf8 in web perl application (LAMP) &#8211; dbi, mysql</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://perl.baczynski.com/work/utf8-horror-at-lamp-part-5/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Utf8 in web perl application (LAMP) &#8211; dbi, mysql</title>
		<link>http://perl.baczynski.com/work/utf8-perl-application-lamp-dbi</link>
		<comments>http://perl.baczynski.com/work/utf8-perl-application-lamp-dbi#comments</comments>
		<pubDate>Wed, 23 Dec 2009 04:59:16 +0000</pubDate>
		<dc:creator>Lech</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[utf8]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://perl.baczynski.com/?p=163</guid>
		<description><![CDATA[Horror with utf8 and LAMP ( perl ) web application contiunued:
We need to take care of  mysql connection, so it is ut8 &#8211; ready:
if (my $dbh = DBI-&#62;connect(&#8220;DBI:mysql:database=&#8221;.$name.&#8217;;host=&#8217;.$hostname, $user, $password,
{
RaiseError        =&#62; $raise,
#             AutoCommit        =&#62; 1,
mysql_enable_utf8 =&#62; 1,
on_connect_do =&#62; [ "SET NAMES 'utf8'", "SET CHARACTER SET +'utf8'" ],
})) {
$dbh-&#62;{&#8216;mysql_enable_utf8&#8242;} = 1;
return $dbh; # DBI database handler
}
We [...]


See also:<ol><li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-lamp-encod' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode'>Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-application-charse' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; binmode, charset'>Utf8 in web perl application (LAMP) &#8211; binmode, charset</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Horror with utf8 and LAMP ( perl ) web application contiunued:</p>
<p>We need to take care of  mysql connection, so it is ut8 &#8211; ready:</p>
<blockquote><p>if (my $dbh = DBI-&gt;connect(&#8220;DBI:mysql:database=&#8221;.$name.&#8217;;host=&#8217;.$hostname, $user, $password,<br />
{<br />
RaiseError        =&gt; $raise,<br />
#             AutoCommit        =&gt; 1,<br />
mysql_enable_utf8 =&gt; 1,<br />
on_connect_do =&gt; [ "SET NAMES 'utf8'", "SET CHARACTER SET +'utf8'" ],<br />
})) {</p>
<p>$dbh-&gt;{&#8216;mysql_enable_utf8&#8242;} = 1;<br />
return $dbh; # DBI database handler<br />
}</p></blockquote>
<p>We also must make sure that our tables are unicode:</p>
<blockquote><p>CREATE TABLE `foo` (<br />
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,<br />
&#8230;.</p>
<p>)  DEFAULT CHARSET=utf8</p></blockquote>
<p>And remember, that utf8 chars may take more space than normal &#8211; so prepare longer  varchars in tables and be prepared for problem with  indexes, like this: Specified key was too long; max key length is 1000 bytes &#8211; see <a href="http://bugs.mysql.com/bug.php?id=4541">http://bugs.mysql.com/bug.php?id=4541</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi&amp;partner=sociable" title="Print"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql&amp;bodytext=Horror%20with%20utf8%20and%20LAMP%20%28%20perl%20%29%20web%20application%20contiunued%3A%0D%0A%0D%0AWe%20need%20to%20take%20care%20of%C2%A0%20mysql%20connection%2C%20so%20it%20is%20ut8%20-%20ready%3A%0D%0Aif%20%28my%20%24dbh%20%3D%20DBI-%26gt%3Bconnect%28%22DBI%3Amysql%3Adatabase%3D%22.%24name.%27%3Bhost%3D%27.%24hostname%2C%20%24user%2C%20%24password%2C%0D%0A%7B%0D%0ARaiseError%C2%A0%C2%A0%C2%A0%C2" title="Digg"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql&amp;notes=Horror%20with%20utf8%20and%20LAMP%20%28%20perl%20%29%20web%20application%20contiunued%3A%0D%0A%0D%0AWe%20need%20to%20take%20care%20of%C2%A0%20mysql%20connection%2C%20so%20it%20is%20ut8%20-%20ready%3A%0D%0Aif%20%28my%20%24dbh%20%3D%20DBI-%26gt%3Bconnect%28%22DBI%3Amysql%3Adatabase%3D%22.%24name.%27%3Bhost%3D%27.%24hostname%2C%20%24user%2C%20%24password%2C%0D%0A%7B%0D%0ARaiseError%C2%A0%C2%A0%C2%A0%C2" title="del.icio.us"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi&amp;t=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql" title="Facebook"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql" title="Mixx"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql&amp;annotation=Horror%20with%20utf8%20and%20LAMP%20%28%20perl%20%29%20web%20application%20contiunued%3A%0D%0A%0D%0AWe%20need%20to%20take%20care%20of%C2%A0%20mysql%20connection%2C%20so%20it%20is%20ut8%20-%20ready%3A%0D%0Aif%20%28my%20%24dbh%20%3D%20DBI-%26gt%3Bconnect%28%22DBI%3Amysql%3Adatabase%3D%22.%24name.%27%3Bhost%3D%27.%24hostname%2C%20%24user%2C%20%24password%2C%0D%0A%7B%0D%0ARaiseError%C2%A0%C2%A0%C2%A0%C2" title="Google Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql&amp;body=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi" title="email"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql&amp;source=Perl+Perl%2C+CPAN%2C+YAPC...+et+ceatera&amp;summary=Horror%20with%20utf8%20and%20LAMP%20%28%20perl%20%29%20web%20application%20contiunued%3A%0D%0A%0D%0AWe%20need%20to%20take%20care%20of%C2%A0%20mysql%20connection%2C%20so%20it%20is%20ut8%20-%20ready%3A%0D%0Aif%20%28my%20%24dbh%20%3D%20DBI-%26gt%3Bconnect%28%22DBI%3Amysql%3Adatabase%3D%22.%24name.%27%3Bhost%3D%27.%24hostname%2C%20%24user%2C%20%24password%2C%0D%0A%7B%0D%0ARaiseError%C2%A0%C2%A0%C2%A0%C2" title="LinkedIn"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi&amp;t=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql" title="MySpace"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql" title="Reddit"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://perl.baczynski.com/feed" title="RSS"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi" title="Slashdot"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql" title="StumbleUpon"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi%20Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql" title="Suggest to Techmeme via Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi" title="Technorati"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql%20-%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi" title="Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="" title="Twitthis"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/" title="Twitthis" alt="Twitthis" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi&amp;t=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql&opener=bm&amp;ei=UTF-8&amp;d=Horror%20with%20utf8%20and%20LAMP%20%28%20perl%20%29%20web%20application%20contiunued%3A%0D%0A%0D%0AWe%20need%20to%20take%20care%20of%C2%A0%20mysql%20connection%2C%20so%20it%20is%20ut8%20-%20ready%3A%0D%0Aif%20%28my%20%24dbh%20%3D%20DBI-%26gt%3Bconnect%28%22DBI%3Amysql%3Adatabase%3D%22.%24name.%27%3Bhost%3D%27.%24hostname%2C%20%24user%2C%20%24password%2C%0D%0A%7B%0D%0ARaiseError%C2%A0%C2%A0%C2%A0%C2" title="Yahoo! Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-perl-application-lamp-dbi&amp;submitHeadline=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20dbi%2C%20mysql&amp;submitSummary=Horror%20with%20utf8%20and%20LAMP%20%28%20perl%20%29%20web%20application%20contiunued%3A%0D%0A%0D%0AWe%20need%20to%20take%20care%20of%C2%A0%20mysql%20connection%2C%20so%20it%20is%20ut8%20-%20ready%3A%0D%0Aif%20%28my%20%24dbh%20%3D%20DBI-%26gt%3Bconnect%28%22DBI%3Amysql%3Adatabase%3D%22.%24name.%27%3Bhost%3D%27.%24hostname%2C%20%24user%2C%20%24password%2C%0D%0A%7B%0D%0ARaiseError%C2%A0%C2%A0%C2%A0%C2&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>


<br/><br/>

<p>See also:<ol><li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-lamp-encod' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode'>Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-application-charse' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; binmode, charset'>Utf8 in web perl application (LAMP) &#8211; binmode, charset</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://perl.baczynski.com/work/utf8-perl-application-lamp-dbi/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Utf8 in web perl application (LAMP) &#8211; binmode, charset</title>
		<link>http://perl.baczynski.com/work/utf8-web-perl-application-charse</link>
		<comments>http://perl.baczynski.com/work/utf8-web-perl-application-charse#comments</comments>
		<pubDate>Wed, 16 Dec 2009 04:57:28 +0000</pubDate>
		<dc:creator>Lech</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[utf8]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://perl.baczynski.com/?p=158</guid>
		<description><![CDATA[After wrestling with perl encoding, we need to make sure the pages of website we create are displayed in utf8.
This means we need to have proper header in pages, for example:
&#60;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/html4/loose.dtd&#8221;&#62;
&#60;html&#62;
&#60;head&#62;
&#60;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=UTF-8&#8243;&#62;
&#8230;
&#8230;
&#8230;
&#60;/head&#62;
&#60;body&#62;
and/or:
Content-Type: text/html; charset=utf-8
Second step, is to set binmode on STDOUT (if we print our dynamically [...]


See also:<ol><li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-horror-at-lamp-part-5' rel='bookmark' title='Permanent Link: Utf8 horror at LAMP &#8211; accept charset'>Utf8 horror at LAMP &#8211; accept charset</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-lamp-encod' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode'>Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>After wrestling with perl encoding, we need to make sure the pages of website we create are displayed in utf8.<br />
This means we need to have proper header in pages, for example:</p>
<blockquote><p>&lt;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/html4/loose.dtd&#8221;&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=UTF-8&#8243;&gt;<br />
&#8230;<br />
&#8230;<br />
&#8230;<br />
&lt;/head&gt;<br />
&lt;body&gt;</p></blockquote>
<p>and/or:</p>
<blockquote><p>Content-Type: text/html; charset=utf-8</p></blockquote>
<p>Second step, is to set binmode on STDOUT (if we print our dynamically generated webpages)</p>
<p><strong>binmode STDOUT, &#8220;:utf8&#8243;;</strong></p>
<p>to get rid of</p>
<blockquote><p>Wide character in print at &#8230;</p></blockquote>
<p>warnings.</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse&amp;partner=sociable" title="Print"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset&amp;bodytext=After%20wrestling%20with%20perl%20encoding%2C%20we%20need%20to%20make%20sure%20the%20pages%20of%20website%20we%20create%20are%20displayed%20in%20utf8.%0D%0AThis%20means%20we%20need%20to%20have%20proper%20header%20in%20pages%2C%20for%20example%3A%0D%0A%26lt%3B%21DOCTYPE%20HTML%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20HTML%204.01%20Transitional%2F%2FEN%22%20%22http%3A%2F" title="Digg"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset&amp;notes=After%20wrestling%20with%20perl%20encoding%2C%20we%20need%20to%20make%20sure%20the%20pages%20of%20website%20we%20create%20are%20displayed%20in%20utf8.%0D%0AThis%20means%20we%20need%20to%20have%20proper%20header%20in%20pages%2C%20for%20example%3A%0D%0A%26lt%3B%21DOCTYPE%20HTML%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20HTML%204.01%20Transitional%2F%2FEN%22%20%22http%3A%2F" title="del.icio.us"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse&amp;t=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset" title="Facebook"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset" title="Mixx"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset&amp;annotation=After%20wrestling%20with%20perl%20encoding%2C%20we%20need%20to%20make%20sure%20the%20pages%20of%20website%20we%20create%20are%20displayed%20in%20utf8.%0D%0AThis%20means%20we%20need%20to%20have%20proper%20header%20in%20pages%2C%20for%20example%3A%0D%0A%26lt%3B%21DOCTYPE%20HTML%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20HTML%204.01%20Transitional%2F%2FEN%22%20%22http%3A%2F" title="Google Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset&amp;body=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse" title="email"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset&amp;source=Perl+Perl%2C+CPAN%2C+YAPC...+et+ceatera&amp;summary=After%20wrestling%20with%20perl%20encoding%2C%20we%20need%20to%20make%20sure%20the%20pages%20of%20website%20we%20create%20are%20displayed%20in%20utf8.%0D%0AThis%20means%20we%20need%20to%20have%20proper%20header%20in%20pages%2C%20for%20example%3A%0D%0A%26lt%3B%21DOCTYPE%20HTML%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20HTML%204.01%20Transitional%2F%2FEN%22%20%22http%3A%2F" title="LinkedIn"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse&amp;t=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset" title="MySpace"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset" title="Reddit"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://perl.baczynski.com/feed" title="RSS"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse" title="Slashdot"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset" title="StumbleUpon"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse%20Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset" title="Suggest to Techmeme via Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse" title="Technorati"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset%20-%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse" title="Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="" title="Twitthis"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/" title="Twitthis" alt="Twitthis" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse&amp;t=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset&opener=bm&amp;ei=UTF-8&amp;d=After%20wrestling%20with%20perl%20encoding%2C%20we%20need%20to%20make%20sure%20the%20pages%20of%20website%20we%20create%20are%20displayed%20in%20utf8.%0D%0AThis%20means%20we%20need%20to%20have%20proper%20header%20in%20pages%2C%20for%20example%3A%0D%0A%26lt%3B%21DOCTYPE%20HTML%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20HTML%204.01%20Transitional%2F%2FEN%22%20%22http%3A%2F" title="Yahoo! Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-application-charse&amp;submitHeadline=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20binmode%2C%20charset&amp;submitSummary=After%20wrestling%20with%20perl%20encoding%2C%20we%20need%20to%20make%20sure%20the%20pages%20of%20website%20we%20create%20are%20displayed%20in%20utf8.%0D%0AThis%20means%20we%20need%20to%20have%20proper%20header%20in%20pages%2C%20for%20example%3A%0D%0A%26lt%3B%21DOCTYPE%20HTML%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20HTML%204.01%20Transitional%2F%2FEN%22%20%22http%3A%2F&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>


<br/><br/>

<p>See also:<ol><li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-horror-at-lamp-part-5' rel='bookmark' title='Permanent Link: Utf8 horror at LAMP &#8211; accept charset'>Utf8 horror at LAMP &#8211; accept charset</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-lamp-encod' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode'>Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://perl.baczynski.com/work/utf8-web-perl-application-charse/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode</title>
		<link>http://perl.baczynski.com/work/utf8-web-perl-lamp-encod</link>
		<comments>http://perl.baczynski.com/work/utf8-web-perl-lamp-encod#comments</comments>
		<pubDate>Wed, 09 Dec 2009 04:57:56 +0000</pubDate>
		<dc:creator>Lech</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[utf8]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://perl.baczynski.com/?p=155</guid>
		<description><![CDATA[The data we get from outside (like STDIN) is usually binary data.
Command like uc, lc wants text strings.
Here is how to change binary data to text strings:
use Encode ;
$foo = Encode::decode_utf8($foo);
you can also convert from other encodings:
$data = decode(&#8220;iso-8859-2&#8243;, $data);
To check whether a string have utf flag turned on:
use Encode qw(is_utf8);
print is_utf8($foo) ? &#8220;utf8&#8243; : [...]


See also:<ol><li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-application-charse' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; binmode, charset'>Utf8 in web perl application (LAMP) &#8211; binmode, charset</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-perl-application-lamp-dbi' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; dbi, mysql'>Utf8 in web perl application (LAMP) &#8211; dbi, mysql</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The data we get from outside (like STDIN) is usually binary data.<br />
Command like uc, lc wants text strings.</p>
<p>Here is how to change binary data to text strings:</p>
<p>use Encode ;<br />
$foo = Encode::decode_utf8($foo);</p>
<p>you can also convert from other encodings:<br />
$data = decode(&#8220;iso-8859-2&#8243;, $data);</p>
<p>To check whether a string have utf flag turned on:</p>
<p>use Encode qw(is_utf8);<br />
print is_utf8($foo) ? &#8220;utf8&#8243; : &#8220;not utf8&#8243;</p>
<p>If you do not know what encoding is the data, use perl module:<br />
use Encode::Guess;<br />
my $enc = guess_encoding($data, qw/euc-jp shiftjis 7bit-jis/);</p>
<p>You need to tell explicitly which encodings are suspected, because<br />
by default, it checks only ascii, utf8 and UTF-16/32 with BOM.</p>
<p>Encode::Guess-&gt;set_suspects(qw/euc-jp shiftjis 7bit-jis/);</p>
<p>But remember, that the guessing is not magic, and it likely to fail.<br />
For example it may fail to recognize whether data are in is-8859-1 or iso-8859-2<br />
Because:</p>
<blockquote><p>The reason is that Encode::Guess guesses encoding by trial and error. It first splits $data into lines and tries to decode the line for each suspect. It keeps it going until all but one encoding is eliminated out of suspects list. ISO-8859 series is just too successful for most cases (because it fills almost all code points in \x00-\xff).</p></blockquote>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod&amp;partner=sociable" title="Print"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode&amp;bodytext=The%20data%20we%20get%20from%20outside%20%28like%20STDIN%29%20is%20usually%20binary%20data.%0D%0ACommand%20like%20uc%2C%20lc%20wants%20text%20strings.%0D%0A%0D%0AHere%20is%20how%20to%20change%20binary%20data%20to%20text%20strings%3A%0D%0A%0D%0Ause%20Encode%20%3B%0D%0A%24foo%20%3D%20Encode%3A%3Adecode_utf8%28%24foo%29%3B%0D%0A%0D%0Ayou%20can%20also%20convert%20from%20other%20enc" title="Digg"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode&amp;notes=The%20data%20we%20get%20from%20outside%20%28like%20STDIN%29%20is%20usually%20binary%20data.%0D%0ACommand%20like%20uc%2C%20lc%20wants%20text%20strings.%0D%0A%0D%0AHere%20is%20how%20to%20change%20binary%20data%20to%20text%20strings%3A%0D%0A%0D%0Ause%20Encode%20%3B%0D%0A%24foo%20%3D%20Encode%3A%3Adecode_utf8%28%24foo%29%3B%0D%0A%0D%0Ayou%20can%20also%20convert%20from%20other%20enc" title="del.icio.us"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod&amp;t=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode" title="Facebook"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode" title="Mixx"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode&amp;annotation=The%20data%20we%20get%20from%20outside%20%28like%20STDIN%29%20is%20usually%20binary%20data.%0D%0ACommand%20like%20uc%2C%20lc%20wants%20text%20strings.%0D%0A%0D%0AHere%20is%20how%20to%20change%20binary%20data%20to%20text%20strings%3A%0D%0A%0D%0Ause%20Encode%20%3B%0D%0A%24foo%20%3D%20Encode%3A%3Adecode_utf8%28%24foo%29%3B%0D%0A%0D%0Ayou%20can%20also%20convert%20from%20other%20enc" title="Google Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode&amp;body=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod" title="email"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode&amp;source=Perl+Perl%2C+CPAN%2C+YAPC...+et+ceatera&amp;summary=The%20data%20we%20get%20from%20outside%20%28like%20STDIN%29%20is%20usually%20binary%20data.%0D%0ACommand%20like%20uc%2C%20lc%20wants%20text%20strings.%0D%0A%0D%0AHere%20is%20how%20to%20change%20binary%20data%20to%20text%20strings%3A%0D%0A%0D%0Ause%20Encode%20%3B%0D%0A%24foo%20%3D%20Encode%3A%3Adecode_utf8%28%24foo%29%3B%0D%0A%0D%0Ayou%20can%20also%20convert%20from%20other%20enc" title="LinkedIn"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod&amp;t=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode" title="MySpace"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode" title="Reddit"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://perl.baczynski.com/feed" title="RSS"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod" title="Slashdot"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode" title="StumbleUpon"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod%20Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode" title="Suggest to Techmeme via Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod" title="Technorati"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode%20-%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod" title="Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="" title="Twitthis"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/" title="Twitthis" alt="Twitthis" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod&amp;t=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode&opener=bm&amp;ei=UTF-8&amp;d=The%20data%20we%20get%20from%20outside%20%28like%20STDIN%29%20is%20usually%20binary%20data.%0D%0ACommand%20like%20uc%2C%20lc%20wants%20text%20strings.%0D%0A%0D%0AHere%20is%20how%20to%20change%20binary%20data%20to%20text%20strings%3A%0D%0A%0D%0Ause%20Encode%20%3B%0D%0A%24foo%20%3D%20Encode%3A%3Adecode_utf8%28%24foo%29%3B%0D%0A%0D%0Ayou%20can%20also%20convert%20from%20other%20enc" title="Yahoo! Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-perl-lamp-encod&amp;submitHeadline=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20part%202%20-%20Encode&amp;submitSummary=The%20data%20we%20get%20from%20outside%20%28like%20STDIN%29%20is%20usually%20binary%20data.%0D%0ACommand%20like%20uc%2C%20lc%20wants%20text%20strings.%0D%0A%0D%0AHere%20is%20how%20to%20change%20binary%20data%20to%20text%20strings%3A%0D%0A%0D%0Ause%20Encode%20%3B%0D%0A%24foo%20%3D%20Encode%3A%3Adecode_utf8%28%24foo%29%3B%0D%0A%0D%0Ayou%20can%20also%20convert%20from%20other%20enc&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>


<br/><br/>

<p>See also:<ol><li><a href='http://perl.baczynski.com/work/utf8-web-application-lamp' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP)'>Utf8 in web perl application (LAMP)</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-application-charse' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; binmode, charset'>Utf8 in web perl application (LAMP) &#8211; binmode, charset</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-perl-application-lamp-dbi' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; dbi, mysql'>Utf8 in web perl application (LAMP) &#8211; dbi, mysql</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://perl.baczynski.com/work/utf8-web-perl-lamp-encod/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Utf8 in web perl application (LAMP)</title>
		<link>http://perl.baczynski.com/work/utf8-web-application-lamp</link>
		<comments>http://perl.baczynski.com/work/utf8-web-application-lamp#comments</comments>
		<pubDate>Wed, 02 Dec 2009 04:45:40 +0000</pubDate>
		<dc:creator>Lech</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[utf8]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://perl.baczynski.com/?p=147</guid>
		<description><![CDATA[Making a correct utf8 web application in LAMP (Perl) is not easy. There are lots of dangerous traps along the way.
We need to take care of source code encoding, web forms data &#8211; inputed by user -  encoding, mysql encoding, displaying data (writing) encoding, and perhaps also take care of data taken from disk files.
First, [...]


See also:<ol><li><a href='http://perl.baczynski.com/work/utf8-web-perl-lamp-encod' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode'>Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-application-charse' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; binmode, charset'>Utf8 in web perl application (LAMP) &#8211; binmode, charset</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-perl-application-lamp-dbi' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; dbi, mysql'>Utf8 in web perl application (LAMP) &#8211; dbi, mysql</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Making a correct utf8 web application in LAMP (Perl) is not easy. There are lots of dangerous traps along the way.</p>
<p>We need to take care of source code encoding, web forms data &#8211; inputed by user -  encoding, mysql encoding, displaying data (writing) encoding, and perhaps also take care of data taken from disk files.</p>
<p>First, we need to take care of source code, if we want to write there something like</p>
<p><strong>$var = &#8220;zażółć gęślą jaźń&#8221;</strong></p>
<p>we need  to <strong>use utf8</strong></p>
<blockquote><p>The use utf8 pragma tells the Perl parser to allow UTF-8 in the program text in the current lexical scope</p>
<p>Do not use this pragma for anything else than telling Perl that your script is written in UTF-8.</p></blockquote>
<p><strong>use utf8</strong> is not a magical trick to fix all problems with utf8, just a beginning of the journey&#8230;</p>
<p>We must have a good code editor or IDE that understands utf8. It will be also nice to have possibility to open files with other other encodings and convert them to utf8. For unix/linux there is for example KDevelop, and many other tools. For windows, there are many editors too. See: <a title="editors unicode" href="http://en.wikipedia.org/wiki/Comparison_of_text_editors#Unicode_and_other_character_encodings">http://en.wikipedia.org/wiki/Comparison_of_text_editors#Unicode_and_other_character_encodings</a> and <a title="editors unicode part 2" href="http://www.alanwood.net/unicode/utilities_editors.html">http://www.alanwood.net/unicode/utilities_editors.html</a></p>
<p>When using <strong>use utf8</strong> remember to save code in utf8 encoding!</p>
<p>To be continued&#8230;</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp&amp;partner=sociable" title="Print"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29&amp;bodytext=Making%20a%20correct%20utf8%20web%20application%20in%20LAMP%20%28Perl%29%20is%20not%20easy.%20There%20are%20lots%20of%20dangerous%20traps%20along%20the%20way.%0D%0A%0D%0AWe%20need%20to%20take%20care%20of%20source%20code%20encoding%2C%20web%20forms%20data%20-%20inputed%20by%20user%20-%C2%A0%20encoding%2C%20mysql%20encoding%2C%20displaying%20data%20%28writin" title="Digg"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29&amp;notes=Making%20a%20correct%20utf8%20web%20application%20in%20LAMP%20%28Perl%29%20is%20not%20easy.%20There%20are%20lots%20of%20dangerous%20traps%20along%20the%20way.%0D%0A%0D%0AWe%20need%20to%20take%20care%20of%20source%20code%20encoding%2C%20web%20forms%20data%20-%20inputed%20by%20user%20-%C2%A0%20encoding%2C%20mysql%20encoding%2C%20displaying%20data%20%28writin" title="del.icio.us"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp&amp;t=Utf8%20in%20web%20perl%20application%20%28LAMP%29" title="Facebook"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29" title="Mixx"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29&amp;annotation=Making%20a%20correct%20utf8%20web%20application%20in%20LAMP%20%28Perl%29%20is%20not%20easy.%20There%20are%20lots%20of%20dangerous%20traps%20along%20the%20way.%0D%0A%0D%0AWe%20need%20to%20take%20care%20of%20source%20code%20encoding%2C%20web%20forms%20data%20-%20inputed%20by%20user%20-%C2%A0%20encoding%2C%20mysql%20encoding%2C%20displaying%20data%20%28writin" title="Google Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Utf8%20in%20web%20perl%20application%20%28LAMP%29&amp;body=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp" title="email"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29&amp;source=Perl+Perl%2C+CPAN%2C+YAPC...+et+ceatera&amp;summary=Making%20a%20correct%20utf8%20web%20application%20in%20LAMP%20%28Perl%29%20is%20not%20easy.%20There%20are%20lots%20of%20dangerous%20traps%20along%20the%20way.%0D%0A%0D%0AWe%20need%20to%20take%20care%20of%20source%20code%20encoding%2C%20web%20forms%20data%20-%20inputed%20by%20user%20-%C2%A0%20encoding%2C%20mysql%20encoding%2C%20displaying%20data%20%28writin" title="LinkedIn"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp&amp;t=Utf8%20in%20web%20perl%20application%20%28LAMP%29" title="MySpace"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29" title="Reddit"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://perl.baczynski.com/feed" title="RSS"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Utf8%20in%20web%20perl%20application%20%28LAMP%29&amp;url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp" title="Slashdot"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp&amp;title=Utf8%20in%20web%20perl%20application%20%28LAMP%29" title="StumbleUpon"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp%20Utf8%20in%20web%20perl%20application%20%28LAMP%29" title="Suggest to Techmeme via Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp" title="Technorati"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Utf8%20in%20web%20perl%20application%20%28LAMP%29%20-%20http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp" title="Twitter"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="" title="Twitthis"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/" title="Twitthis" alt="Twitthis" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp&amp;t=Utf8%20in%20web%20perl%20application%20%28LAMP%29&opener=bm&amp;ei=UTF-8&amp;d=Making%20a%20correct%20utf8%20web%20application%20in%20LAMP%20%28Perl%29%20is%20not%20easy.%20There%20are%20lots%20of%20dangerous%20traps%20along%20the%20way.%0D%0A%0D%0AWe%20need%20to%20take%20care%20of%20source%20code%20encoding%2C%20web%20forms%20data%20-%20inputed%20by%20user%20-%C2%A0%20encoding%2C%20mysql%20encoding%2C%20displaying%20data%20%28writin" title="Yahoo! Bookmarks"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fperl.baczynski.com%2Fwork%2Futf8-web-application-lamp&amp;submitHeadline=Utf8%20in%20web%20perl%20application%20%28LAMP%29&amp;submitSummary=Making%20a%20correct%20utf8%20web%20application%20in%20LAMP%20%28Perl%29%20is%20not%20easy.%20There%20are%20lots%20of%20dangerous%20traps%20along%20the%20way.%0D%0A%0D%0AWe%20need%20to%20take%20care%20of%20source%20code%20encoding%2C%20web%20forms%20data%20-%20inputed%20by%20user%20-%C2%A0%20encoding%2C%20mysql%20encoding%2C%20displaying%20data%20%28writin&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://perl.baczynski.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>


<br/><br/>

<p>See also:<ol><li><a href='http://perl.baczynski.com/work/utf8-web-perl-lamp-encod' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode'>Utf8 in web perl application (LAMP) &#8211; part 2 &#8211; Encode</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-web-perl-application-charse' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; binmode, charset'>Utf8 in web perl application (LAMP) &#8211; binmode, charset</a></li>
<li><a href='http://perl.baczynski.com/work/utf8-perl-application-lamp-dbi' rel='bookmark' title='Permanent Link: Utf8 in web perl application (LAMP) &#8211; dbi, mysql'>Utf8 in web perl application (LAMP) &#8211; dbi, mysql</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://perl.baczynski.com/work/utf8-web-application-lamp/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
