<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Can't read/save Polish characters]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=5371</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5371&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Can't read/save Polish characters.]]></description>
		<lastBuildDate>Tue, 30 Dec 2014 17:36:44 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Can't read/save Polish characters]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21965#p21965</link>
			<description><![CDATA[<p>Thanks for the info. The solution in context is:<br /></p><div class="quotebox"><blockquote><p>Solution<br />=================<br />in file includes/db/connect_db.inc<br />add one line<br />mysql_query(&quot;SET NAMES &#039;utf8&#039;&quot;);</p><p>so the code become below<br />====<br />$db = mysql_connect($connection[&quot;host&quot;], $connection[&quot;dbuser&quot;], $connection[&quot;dbpassword&quot;]);<br />&nbsp; &nbsp;<br />mysql_query(&quot;SET NAMES &#039;utf8&#039;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; mysql_select_db($connection[&quot;dbname&quot;], $db);<br />====</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 30 Dec 2014 17:36:44 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21965#p21965</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't read/save Polish characters]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21962#p21962</link>
			<description><![CDATA[<p>I finally solved the problem as per the suggestion in an earlier post. Thanks everyone for your help.</p><p>https://frontaccounting.com/punbb/viewtopic.php?id=4530&amp;login=1</p>]]></description>
			<author><![CDATA[null@example.com (sirka)]]></author>
			<pubDate>Tue, 30 Dec 2014 14:26:20 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21962#p21962</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't read/save Polish characters]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21940#p21940</link>
			<description><![CDATA[<p>Check the database and see if it is stored correctly there - if not then it could be an encoding issue in your database.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 29 Dec 2014 17:30:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21940#p21940</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't read/save Polish characters]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21937#p21937</link>
			<description><![CDATA[<p>After following the steps in&nbsp; <a href="http://devel.frontaccounting.com/git/?p=fa-stable.git;a=commitdiff;h=ac86042c0f4d7f15e3422d3fefdd6b7f70672129;hp=66b76b3be910e0f5dc5a26384c4cfce20579a70d">this patch</a>, the error messages are now gone. But I still see &quot;?&quot; for all polish characters in both system and PDF. i.e. I still cannot see Polish characters. </p><p>I tried looking for other answers on the internet but cannot get a good solution. I downloaded the fonts dejavu and freesans but still does not work. I am getting frustrated.... What else should I do to rectify this? Thank you.</p>]]></description>
			<author><![CDATA[null@example.com (sirka)]]></author>
			<pubDate>Mon, 29 Dec 2014 14:58:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21937#p21937</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't read/save Polish characters]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21710#p21710</link>
			<description><![CDATA[<p>This is latin2 encoding related fix which is used&nbsp; not only for polish language. Probably the same problem could arise for other encodings not supported by htmlspecialchars(). For now nobody was interested in contributing any translation which use encoding other than&nbsp; latin1, latin2 or utf8 (see list of avilable languages), so frankly I don&#039;t care about that. The patch fixes the problem for all currently supported languages, and this is safe minimum.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Mon, 08 Dec 2014 20:30:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21710#p21710</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't read/save Polish characters]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21709#p21709</link>
			<description><![CDATA[<p>Should this not be extended to not just Polish but even when no session encoding is present like in the default C or null encoding?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 08 Dec 2014 19:40:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21709#p21709</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't read/save Polish characters]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21707#p21707</link>
			<description><![CDATA[<p>This problem is related to uncompatibilities in htmlspecialchars() fucntion behaviour in newer php versions. This&nbsp; just have been fixed in FA source repository, and will be released with next minor FA version.&nbsp; If you want to fix it manually on your installation, just apply <a href="http://devel.frontaccounting.com/git/?p=fa-stable.git;a=commitdiff;h=ac86042c0f4d7f15e3422d3fefdd6b7f70672129;hp=66b76b3be910e0f5dc5a26384c4cfce20579a70d">this patch</a>&nbsp; on FA sources.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Mon, 08 Dec 2014 19:22:05 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21707#p21707</guid>
		</item>
		<item>
			<title><![CDATA[Can't read/save Polish characters]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21685#p21685</link>
			<description><![CDATA[<p>I installed Polish language and English (US) language. However, no matter which language I set, I can&#039;t save Polish characters.</p><p>For example, in &quot;Add and Manage Customers&quot;, if the customer name contains a Polish character, there will be errors after I press &#039;Add Customer&#039; - Errors say:</p><p>The customer name cannot be empty.<br />/home1/dragon/public_html/dragondb/includes/ui/ui_msgs.inc:14:&nbsp; &nbsp; trigger_error(&#039;The customer name cannot be empty.&#039;,&#039;256&#039;)<br />/home1/dragon/public_html/dragondb/sales/manage/customers.php:42:&nbsp; &nbsp; display_error(&#039;The customer name cannot be empty.&#039;)<br />/home1/dragon/public_html/dragondb/sales/manage/customers.php:84:&nbsp; &nbsp; can_process()<br />/home1/dragon/public_html/dragondb/sales/manage/customers.php:142:&nbsp; &nbsp; handle_submit(&#039;&#039;)</p><br /><p>I also tried updating records on the back-end tables through PhpMyAdmin. The Polish characters can be saved at the back-end tables. However, after I wanted to view it in the frontaccounting system again, those characters became &#039;???&#039; again.</p><p>What should I do to solve this?</p>]]></description>
			<author><![CDATA[null@example.com (sirka)]]></author>
			<pubDate>Sun, 07 Dec 2014 13:59:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21685#p21685</guid>
		</item>
	</channel>
</rss>
