<?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>indexu.com &#187; gettext</title>
	<atom:link href="http://www.indexu.com/tag/gettext/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.indexu.com</link>
	<description>developer blog</description>
	<lastBuildDate>Wed, 30 Jun 2010 05:06:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Language code, add .utf8 if it doesn&#8217;t work</title>
		<link>http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/</link>
		<comments>http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 09:26:04 +0000</pubDate>
		<dc:creator>dody</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[gettext]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[locale]]></category>
		<category><![CDATA[mo]]></category>
		<category><![CDATA[po]]></category>
		<category><![CDATA[utf8]]></category>

		<guid isPermaLink="false">http://www.indexu.com/?p=49</guid>
		<description><![CDATA[Usually language code is constructed like es_ES or fr_FR. However in some servers, usually on linux box, the server locale code need explicitly add .utf8. So if you have problem with strange characters where utf8 doesn&#8217;t work. Do the following steps: 1) rename the language folder, add .utf8. /lang/es_ES.utf8 /lang/fr_FR.utf8 2) language switching also need [...]]]></description>
			<content:encoded><![CDATA[<p>Usually language code is constructed like <code>es_ES</code> <code>or fr_FR</code>. However in some servers, usually on linux box, the server <code>locale</code> code need explicitly add <code>.utf8</code>. So if you have problem with strange characters where utf8 doesn&#8217;t work. Do the following steps:</p>
<p>1) rename the language folder, add <code>.utf8</code>.</p>
<pre>
/lang/es_ES.utf8
/lang/fr_FR.utf8
</pre>
<p>2) language switching also need to be modified to:</p>
<pre>

http://www.nicecoder.com/testrial/upload/set_language.php?lang_id=es_ES.utf8&#038;back=/testrial/upload/
</pre>
<p>Notice that it is now become <code>lang_id=es_ES.utf8</code>.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/&amp;n=Language+code%2C+add+.utf8+if+it+doesn%27t+work&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/&amp;title=Language+code%2C+add+.utf8+if+it+doesn%27t+work" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/&amp;t=Language+code%2C+add+.utf8+if+it+doesn%27t+work" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/&amp;title=Language+code%2C+add+.utf8+if+it+doesn%27t+work" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-squidoo">
			<a href="http://www.squidoo.com/lensmaster/bookmark?http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/" rel="nofollow" class="external" title="Add to a lense on Squidoo">Add to a lense on Squidoo</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Language+code%2C+add+.utf8+if+it+doesn%27t+work+-+http://b2l.me/4mmG7&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

