Are you using the latest Zend framework? Adobe contributed AMF to Zend, and there's a Zend_AMF component in V1.7 of the framework. This might solve your problem.
HTH, ~randy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Daniel Freiman Sent: Wednesday, January 14, 2009 1:28 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: String Encoding Issue Over AMF I'm using Zend Framework. I can't find an comparable method. On Wed, Jan 14, 2009 at 1:58 PM, aphexyuri <yuriv...@yahoo.co.uk> wrote: Have you played around with $gateway->setCharsetHandler() in gateway.php? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Daniel Freiman" <freima...@...> wrote: > > Either I'm missing something (which is highly possible) or that information > isn't addressing the problem. Everything on the php side seems fine. And > all the tests/functions applied to the string on the php side operate as > expected. It's not until the string is sent over AMF to Flex that I have a > problem. > > On Wed, Jan 14, 2009 at 12:20 PM, valdhor <valdhorli...@...>wrote: > > > The problem is with PHP and how it handles multi-byte strings. > > > > A good overview can be found at http://www.phpwact.org/php/i18n/charsets > > > > Hopefully PHP 6 will end all this grief. > > > > > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <flexcoders%40yahoogroups.com>, "Daniel > > Freiman" <FreimanCQ@> wrote: > > > > > > I'm transmitting Strings from php to Flex. The values are correct > > before I > > > send them to Flex (I've traced them), but Flex isn't interpreting them > > > properly (I get that square thing, or two incorrect characters). > > I've tried > > > various encoding/decoding schemes (urlencode, etc) but none of them have > > > worked. So far I've only tried alphanumeric characters and the > > "trademark" > > > and "registered" symbols. The "trademark" is the only one that isn't > > > working. > > > Anyone have any idea how to fix this? > > > > > > - Daniel Freiman > > > > > > > > > >