<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated on Thu, 09 Sep 2010 12:42:57 -0400 -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <atom:link href="http://jrsofty1.stinkbugonline.com/modules/Blogs/rssfeed.php" rel="self" type="application/rss+xml" />
    <title>JRSofty Programming Blogs - SysLog</title>
    <link>http://jrsofty1.stinkbugonline.com/admin/index.php?mact=Blogs,cntnt01,rssfeed,0&amp;cntnt01show=category&amp;cntnt01catid=syslog&amp;cntnt01returnid=-1</link>
    <description>Blogs about my projects</description>
    <language>en</language>
    <managingEditor>Jason Reed</managingEditor>
    <generator>Jason Reed</generator>
    <item>
      <title>The Blog is Back</title>
      <description>&lt;p&gt;Well out of the silliness that is me I had accidently deleted the blog module a while back and didn't realize it until it was too late. Then my host has locked down the directory and file permissions so that I couldn't add it back. So I finally got around to getting the permissions on my modules directory set so that I can write to it again and have once again added the blog back to the site.&lt;/p&gt;
&lt;p&gt;Of course this means that all the old content is lost. Bummer.&lt;/p&gt;</description>
      <link>http://jrsofty1.stinkbugonline.com/index.php?mact=Blogs,cntnt01,showentry,0&amp;cntnt01entryid=1&amp;cntnt01returnid=15</link>
      <pubDate>Wed, 29 Jul 2009 04:49:16 -0400</pubDate>
    </item>
    <item>
      <title>Problems with JSON encoding in PHP</title>
      <description>&lt;p&gt;Wow that's annoying. Things have been going well with the CiE framework. Had to make some changes to the template system (again) but I'm pretty confident that things are fixed now. The newest problem however is in the handling of AJAX or I should say AJAJ functionality that I'm including (or wanting to include) into the framework.&lt;/p&gt;
&lt;p&gt;Now unless you are really familiar with AJAX and all its different forms then you are probably asking &quot;What is AJAJ?&quot;. AJAJ stands for Asyncronous Javascript And JSON. Now you are probably asking what JSON is. JSON stands for JavaScript Object Notation, and basically is data transfer protocol that is both easily read by the human eye and easily parsed by computers. After doing a little research I was really happy to find that both the Firefox browser (as well as IE 8 but that's not important right now) and PHP 5.2 both natively handles JSON. PHP has two functions called json_encode and json_decode, which do the obvious. The problem is that there seems to be some problems with the json_encode when it comes to special characters. For example, &quot;6 Treffen á 2 Stunden plus 1 Partnertag á 2 Stunden&quot;. It's the á that is causeing the problem. When it is encoded into the JSON it comes out as only 6 Treffen. So the question is what I should do? I could change all the data to remove the strange &quot;a&quot; character OR I build my own JSON encoder/decoder. Not sure which is the wisest way.&lt;/p&gt;</description>
      <link>http://jrsofty1.stinkbugonline.com/index.php?mact=Blogs,cntnt01,showentry,0&amp;cntnt01entryid=3&amp;cntnt01returnid=15</link>
      <pubDate>Thu, 27 Aug 2009 15:23:02 -0400</pubDate>
    </item>
    <item>
      <title>Problems Solved with PHP JSON encoding.</title>
      <description>&lt;p&gt;After doing some research I found the problem. It has to do with the character encoding. Before you can use JSON encode or decode in PHP it must be UTF8_encoded. Which is rather annoying that they didn't make that clear before. Once you have UTF8 encoded your data then you can use the JSON encoder.&lt;/p&gt;
&lt;p&gt;The good thing is that I don't need to waste time building my own parser.&lt;/p&gt;</description>
      <link>http://jrsofty1.stinkbugonline.com/index.php?mact=Blogs,cntnt01,showentry,0&amp;cntnt01entryid=4&amp;cntnt01returnid=15</link>
      <pubDate>Fri, 28 Aug 2009 00:37:28 -0400</pubDate>
    </item>
  </channel></rss>