Thanks a lot for the tips Bernard, I will try that and let you know if
worked!

Thanks ;)

- Marcelo.

On 5/20/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:

Hi Marcelo,

You could try loading the text as HTML-text in flash.
Then in cakePHP before you outpur your text use:

$output = htmlspecialchars(htmlentities($output));

Now all chars that are not in the 32-127 (ascii) range will be changed to
something like &euml; for ë

Greetz,

Bernard

> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens
> Marcelo de Moraes Serpa
> Verzonden: zaterdag 20 mei 2006 1:04
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] TextField using shared font is
> not showing character such ã, á, ç...
>
> Hey Julien, thanks for the reply.
>
> I just discovered it isn´t a shared font problem but actually
> a string encoding problem! I´m using CakePHP as the
> application server and the admin system is all in html - all
> the data is entered through this interface. The problem is
> that flash uses UTF8 which is different from the enconding
> Cake uses (it seems). I would really love to know if AMFPHP
> has something to deal with that issue!
>
> THanks!
>
> Marcelo.
>
> On 5/19/06, Julien Vignali <[EMAIL PROTECTED]> wrote:
> >
> > Marcelo,
> > Strange...I am using fonts in a shared library too and it
> can display
> > accentuated characters without any problems... Are you sure
> that the
> > font you're using initially contains those characters ?
> > And have you correctly imported the shared font in your library and
> > set your textfields' font to it ? I always export my fonts
> to "__Fontname"
> > so they always appear at the top of my font list like this :
> >
> > __HelveticaNeue*
> > __MyriadPro*
> > ...
> >
> >
> >
> > Marcelo de Moraes Serpa a écrit :
> > > The used fonts are packaged into a shared library that is
> pre-loaded
> > > at
> > the
> > > beginning of the application. The embedding works, I´ve testing
> > > rotating and changing dynamic textfields and they show
> the correct
> > > fonts. However, character such as á,é,ç,ã that I need to
> use don´t
> > > show! Why!?
> > >
> > > Thanks in advacne,
> > > _______________________________________________
> > > [email protected]
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com http://training.figleaf.com
> > >
> > >
> > _______________________________________________
> > [email protected]
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com http://training.figleaf.com
> >
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to