PDA

View Full Version : Avoid escaping "%" directly on Database


vicios
02-16-2006, 11:53 AM
Ok here´s what I got..
I got all this dynamic info on a MySql Database that gets loaded in to my flash movie, but the problem is, that the "%" character does not show on flash.

In PHP the code gets the info from database and utf8_encode it for special characters.
THen on Flash It just does a simple loadVars.

Is there a way to make the "%" character appear on the Flash without touching the AS?
I mean, someway to unescape the % directly on the database?

If not, how can I make the "%" appear on flash?

Thanks.

jsebrech
02-16-2006, 12:32 PM
Try applying urlencode on the individual strings you've utf8_encode'd before you send them to flash.