Skip to main content
June 29, 2006
Question

LoadVars odd danish letters

  • June 29, 2006
  • 1 reply
  • 215 views
hi i have a problem getting flash to send my loadvars to php.
not that flash dossent send and my php site dossent get the send data, but flash is altering some of the data.

i have a string text with som special danish letters (æøå) the UTF-8 code for (ø) = "%F8" but when flash sends it it is translated into "%C3%B8" and this is where my php fails to follow and comes up with som ood looking danish.

im hoping that this is easy to fix ither by me scripting or a plugin.

please help!!
This topic has been closed for replies.

1 reply

Participating Frequently
June 30, 2006
this is more of a PHP issue you have.
try the PHP functions utf8_decode() and urldecode()
ex: $result = utf8_decode(urldecode($GLOBALS['HTTP_RAW_POST_DATA']));

for more help about this you should try posting on a PHP forum

here's a quick reference point to start at if you ever get stuck in PHP.
http://www.finalstop.ca/library/php.html