Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

é swapped to é when passing variables to a php script

Status
Not open for further replies.

dorobo88

Programmer
Sep 10, 2002
12
CA
Well, I've coded a form mail, which is working fine except for the passing of accented characters apparently. Strangely, the same php script displays accented characters coming from an html form correctly, that's why I'm pretty sure it has to do with some sort of encoding in flash

thks in advance for any help

nicolas

ps: please, make our post editable, it's pretty annoying
pps: delete the 450 thread por favor
 
If the PHP is passing encoded characters - via urlencode() -correctly then use 'unescape' in Flash to decode the accented text.

myString=unescape(myVariables);
 
umm, forgot to mention that it's in the mail that the character is displayed incorrectly, meaning it's the php script that genrerates it. I've found out that putting my mail in utf mode will show the correct output.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top