<?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>Adam Yohanan &#187; Code</title>
	<atom:link href="http://www.adamyohanan.com/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adamyohanan.com</link>
	<description>PHP Expert</description>
	<lastBuildDate>Thu, 15 Dec 2011 05:25:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>phpList and hebrew subjects</title>
		<link>http://www.adamyohanan.com/phplist-and-hebrew-subjects/</link>
		<comments>http://www.adamyohanan.com/phplist-and-hebrew-subjects/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 13:50:18 +0000</pubDate>
		<dc:creator>Adam Yohanan</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.adamyohanan.com/?p=109</guid>
		<description><![CDATA[working with hebrew on phplist needs a small fix]]></description>
			<content:encoded><![CDATA[<p>I started using <a href="http://www.phplist.com">phpList</a> as an email tracking managment system, i wanted to send emails to clients on one of my projects.</p>
<p>I realized I&#8217;m facing a problem when i was trying to write an email with a subject using hebrew letters, when you save the email, it refreshes and shows the hebrew letters wrong and also would not send it correctly.</p>
<p>The solution i came up with, was to change the encoding of the admin panel.</p>
<p>The admin panel is configured to work with a pre-defined language that you choose at the main page, the default i had was english.</p>
<p>looking at /public_html/lists/admin/languages.php<br />
at line: 13</p>
<p><code>"en" => array("English ","iso-8859-1","iso-8859-1, windows-1252 "),</code></p>
<p>I understood that when you choose english as the default language, it forces all the pages to work with iso-8859-1 instead of utf-8 that is needed for hebrew.</p>
<p>Hebrew is not supported in phplist and i didnt want to add a new row as hebrew, then it would look for hebrew langauge pack in /lan/ directory, so i decided to just change this line to support both hebrew and english with utf-8.</p>
<p><code>"en" => array("English ","utf-8","utf-8, windows-1255 "),</code></p>
<p>This solved the issue and now i can fully work with hebrew over phplist.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.adamyohanan.com/phplist-and-hebrew-subjects/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

