<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Issues with Zend AMF? Let&#8217;s get them resolved before ZF 1.8</title>
	<atom:link href="http://wadearnold.com/blog/flash/issues-with-zend-amf/feed" rel="self" type="application/rss+xml" />
	<link>http://wadearnold.com/blog/flash/issues-with-zend-amf</link>
	<description>The spoils of the integration of PHP and ActionScript</description>
	<lastBuildDate>Tue, 17 Jan 2012 17:17:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: sideDoor</title>
		<link>http://wadearnold.com/blog/flash/issues-with-zend-amf/comment-page-1#comment-2645</link>
		<dc:creator>sideDoor</dc:creator>
		<pubDate>Sat, 30 May 2009 02:51:23 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=238#comment-2645</guid>
		<description>@ my comment above:

This is not an issue with Zendamf, but rather Zend_Db, and to resolve the issue I enforced the character set of the persistent db connection to UTF-8 by using the following statement in the Zend_Db::factory parameters:

&#039;driver_options&#039; =&gt; array(PDO::MYSQL_ATTR_INIT_COMMAND =&gt; &#039;SET NAMES utf8&#039;)</description>
		<content:encoded><![CDATA[<p>@ my comment above:</p>
<p>This is not an issue with Zendamf, but rather Zend_Db, and to resolve the issue I enforced the character set of the persistent db connection to UTF-8 by using the following statement in the Zend_Db::factory parameters:</p>
<p>&#8216;driver_options&#8217; =&gt; array(PDO::MYSQL_ATTR_INIT_COMMAND =&gt; &#8216;SET NAMES utf8&#8242;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sideDoor</title>
		<link>http://wadearnold.com/blog/flash/issues-with-zend-amf/comment-page-1#comment-2643</link>
		<dc:creator>sideDoor</dc:creator>
		<pubDate>Fri, 29 May 2009 23:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=238#comment-2643</guid>
		<description>Thank you for all your work, of course!

I&#039;m not sure where else to post this (is there a Zendamf forum?), so:

There seems to be an issue passing special character values via Zendamf.  I&#039;ve written an application that deals with multiple languages.  While querying a database that returns data including French-text characters (ie: Québec), the result returned from Zendamf is not handling the special characters (ie: instead of Québec, we receive Qu�c).

I&#039;ve checked the output of the data via Php: the issue is not with the database result - the characters are returned correctly from the database to the Php result-set - I am able to print these characters correctly before they are sent through Zendamf, either by rendering them in HTML or by writing them to a log file.

However, once I plug the SQL result into an object and pass it to Zendamf, the special characters get mangled.  Using Charles Web Debugging Proxy, I can see that the result values are mangled before they are passed back to my AS3 application.

Any ideas here?  Thanks so much!</description>
		<content:encoded><![CDATA[<p>Thank you for all your work, of course!</p>
<p>I&#8217;m not sure where else to post this (is there a Zendamf forum?), so:</p>
<p>There seems to be an issue passing special character values via Zendamf.  I&#8217;ve written an application that deals with multiple languages.  While querying a database that returns data including French-text characters (ie: Québec), the result returned from Zendamf is not handling the special characters (ie: instead of Québec, we receive Qu�c).</p>
<p>I&#8217;ve checked the output of the data via Php: the issue is not with the database result &#8211; the characters are returned correctly from the database to the Php result-set &#8211; I am able to print these characters correctly before they are sent through Zendamf, either by rendering them in HTML or by writing them to a log file.</p>
<p>However, once I plug the SQL result into an object and pass it to Zendamf, the special characters get mangled.  Using Charles Web Debugging Proxy, I can see that the result values are mangled before they are passed back to my AS3 application.</p>
<p>Any ideas here?  Thanks so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Heimburg</title>
		<link>http://wadearnold.com/blog/flash/issues-with-zend-amf/comment-page-1#comment-2172</link>
		<dc:creator>Eric Heimburg</dc:creator>
		<pubDate>Thu, 16 Apr 2009 21:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=238#comment-2172</guid>
		<description>(That was with the 1.7.8 release.)</description>
		<content:encoded><![CDATA[<p>(That was with the 1.7.8 release.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Heimburg</title>
		<link>http://wadearnold.com/blog/flash/issues-with-zend-amf/comment-page-1#comment-2171</link>
		<dc:creator>Eric Heimburg</dc:creator>
		<pubDate>Thu, 16 Apr 2009 21:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=238#comment-2171</guid>
		<description>Hi Wade, we ran into a bug yesterday. Using all generic objects and arrays, we had an object nested a couple levels deep that had an array of objects as one of its members. Only the first element of the array had the correct contents; the rest were gibberish.

We worked around this by switching from AMF3 to AMF0, where the problem no longer occurred.</description>
		<content:encoded><![CDATA[<p>Hi Wade, we ran into a bug yesterday. Using all generic objects and arrays, we had an object nested a couple levels deep that had an array of objects as one of its members. Only the first element of the array had the correct contents; the rest were gibberish.</p>
<p>We worked around this by switching from AMF3 to AMF0, where the problem no longer occurred.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moses</title>
		<link>http://wadearnold.com/blog/flash/issues-with-zend-amf/comment-page-1#comment-1671</link>
		<dc:creator>moses</dc:creator>
		<pubDate>Wed, 25 Mar 2009 06:09:23 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=238#comment-1671</guid>
		<description>Ok, I just figured it out. I use FlashDevelop on WinXP - sometimes I use Scintilla to edit PHP pages. When I created the service class (that is giving me the problems) whichever editor I was using caused extra characters to creep in with the output.

When I concluded this was the problem I created a new service class (copy of the working one) and this solved the problem.</description>
		<content:encoded><![CDATA[<p>Ok, I just figured it out. I use FlashDevelop on WinXP &#8211; sometimes I use Scintilla to edit PHP pages. When I created the service class (that is giving me the problems) whichever editor I was using caused extra characters to creep in with the output.</p>
<p>When I concluded this was the problem I created a new service class (copy of the working one) and this solved the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ugo</title>
		<link>http://wadearnold.com/blog/flash/issues-with-zend-amf/comment-page-1#comment-1659</link>
		<dc:creator>Ugo</dc:creator>
		<pubDate>Tue, 24 Mar 2009 08:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=238#comment-1659</guid>
		<description>What about returning mysql_result resultset as amfphp do?</description>
		<content:encoded><![CDATA[<p>What about returning mysql_result resultset as amfphp do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moses</title>
		<link>http://wadearnold.com/blog/flash/issues-with-zend-amf/comment-page-1#comment-1658</link>
		<dc:creator>moses</dc:creator>
		<pubDate>Tue, 24 Mar 2009 07:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=238#comment-1658</guid>
		<description>I&#039;ve had a problem with Zend AMF for a while now. (great work on the ZMF plugin, Wade) Some of my service classes always return &#039;text/html&#039; as instead of &#039;application/x-amf&#039;. These classes are almost exactly the same only for a few extra functions here and there.

I call two methods from two different service classes. I changed both these methods so that they return strings.

My best bet is that somewhere PHP sends unknown characters with the response and results in it being interpreted as text. But I can not find these characters anywhere!

I guess I should be crying to PHP and not Zend ZMF or even the Zend MVC... :)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve had a problem with Zend AMF for a while now. (great work on the ZMF plugin, Wade) Some of my service classes always return &#8216;text/html&#8217; as instead of &#8216;application/x-amf&#8217;. These classes are almost exactly the same only for a few extra functions here and there.</p>
<p>I call two methods from two different service classes. I changed both these methods so that they return strings.</p>
<p>My best bet is that somewhere PHP sends unknown characters with the response and results in it being interpreted as text. But I can not find these characters anywhere!</p>
<p>I guess I should be crying to PHP and not Zend ZMF or even the Zend MVC&#8230; <img src='http://wadearnold.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Current Undone</title>
		<link>http://wadearnold.com/blog/flash/issues-with-zend-amf/comment-page-1#comment-1630</link>
		<dc:creator>Current Undone</dc:creator>
		<pubDate>Sun, 22 Mar 2009 01:18:19 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=238#comment-1630</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-1629&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-1629&quot; rel=&quot;nofollow&quot;&gt;Current Undone&lt;/a&gt; :&lt;/strong&gt;
&lt;blockquote cite=&quot;#commentbody-1628&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-1628&quot; rel=&quot;nofollow&quot;&gt;Current Undone&lt;/a&gt; :&lt;/strong&gt;
Hi Wade,
I could not integrate Flex within my Zend Framework website, built using Zend_Server thus uses port forwarding.
I tried all approaches…. Made the gateway controller with an action as AMF Server/Made Gateway file available in the Public directory of the Zf website.
Nothing works for me.
Sincerely request you to guide me, if its not an issue.
regards,
Current Undone
PS: Am using version 1.7.5 of Zf
&lt;/blockquote&gt;
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-1629"><p>
<strong><a href="#comment-1629" rel="nofollow">Current Undone</a> :</strong></p>
<blockquote cite="#commentbody-1628"><p>
<strong><a href="#comment-1628" rel="nofollow">Current Undone</a> :</strong><br />
Hi Wade,<br />
I could not integrate Flex within my Zend Framework website, built using Zend_Server thus uses port forwarding.<br />
I tried all approaches…. Made the gateway controller with an action as AMF Server/Made Gateway file available in the Public directory of the Zf website.<br />
Nothing works for me.<br />
Sincerely request you to guide me, if its not an issue.<br />
regards,<br />
Current Undone<br />
PS: Am using version 1.7.5 of Zf
</p></blockquote>
</blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Current Undone</title>
		<link>http://wadearnold.com/blog/flash/issues-with-zend-amf/comment-page-1#comment-1629</link>
		<dc:creator>Current Undone</dc:creator>
		<pubDate>Sun, 22 Mar 2009 01:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=238#comment-1629</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-1628&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-1628&quot; rel=&quot;nofollow&quot;&gt;Current Undone&lt;/a&gt; :&lt;/strong&gt;
Hi Wade,
I could not integrate Flex within my Zend Framework website, built using Zend_Server thus uses port forwarding.
I tried all approaches…. Made the gateway controller with an action as AMF Server/Made Gateway file available in the Public directory of the Zf website.
Nothing works for me.
Sincerely request you to guide me, if its not an issue.
regards,
Current Undone
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-1628"><p>
<strong><a href="#comment-1628" rel="nofollow">Current Undone</a> :</strong><br />
Hi Wade,<br />
I could not integrate Flex within my Zend Framework website, built using Zend_Server thus uses port forwarding.<br />
I tried all approaches…. Made the gateway controller with an action as AMF Server/Made Gateway file available in the Public directory of the Zf website.<br />
Nothing works for me.<br />
Sincerely request you to guide me, if its not an issue.<br />
regards,<br />
Current Undone
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Current Undone</title>
		<link>http://wadearnold.com/blog/flash/issues-with-zend-amf/comment-page-1#comment-1628</link>
		<dc:creator>Current Undone</dc:creator>
		<pubDate>Sun, 22 Mar 2009 01:15:24 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=238#comment-1628</guid>
		<description>Hi Wade,
I could not integrate Flex within my Zend Framework website, build using Zend_Server thus uses port forwarding.
I tried all approaches.... Made the gateway file as Index controller/Made Gateway file available in the Public directory of the Zf website.
Nothing works for me.
Sincerely request you to guide me, if its not an issue.

regards,
Current Undone</description>
		<content:encoded><![CDATA[<p>Hi Wade,<br />
I could not integrate Flex within my Zend Framework website, build using Zend_Server thus uses port forwarding.<br />
I tried all approaches&#8230;. Made the gateway file as Index controller/Made Gateway file available in the Public directory of the Zf website.<br />
Nothing works for me.<br />
Sincerely request you to guide me, if its not an issue.</p>
<p>regards,<br />
Current Undone</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
