PDA

View Full Version : Data from external file to flash - encoding problem



danielbento
02-11-2007, 10:28 PM
I'm retrieving data from an external php file to flash, using loadVars and inserting data into a dynamic textField.

Everything works fine, excepts the encoding of text.

I'm testing in a mac osx. When i try only the output with php, it exports everyting correctly, but on mac it gives me some errors.

The language is portuguese, that has characters like "" or "". And is in this kind of errors that gives me the encoding erros.

How can i solve it?

BLiZZaRD
02-13-2007, 07:21 PM
Are all your files, the flas HTML, the php page etc. all using the proper DOC type handlers and font codes for UTF-8 or the "specific" one you want loaded?

danielbento
02-13-2007, 07:43 PM
i found a solution already.

System.useCodepage=true;

nini
04-02-2007, 08:14 PM
Where is should had this on the flash file on into the XML http://www.dynamicdrive.com/forums/images/smilies/confused.gif

BLiZZaRD
04-13-2007, 04:17 PM
Depends on what exactly you mean?

Do you want to use XML instead of php? It's a whole different process. I have answered a few times in this thread already, you can search for more exacts with what you want here :)