The problem is still PHP's problem with unicode characters.
You can see the trademark character problem in php.net's method listings.
About the only way to do it is to replace the TM character with the
HTML equivalent:
$text = "Steve";
$text = str_replace("", "™", $text);
And on the flex end set the htmlText property to the returned string.
--- In [email protected], "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 [email protected] <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
> > >
> >
> >
> >
>