dsdsdsdsd Posted June 4, 2010 Share Posted June 4, 2010 hello; I have: 1) mysql database table ... collation set to 'utf8_general_ci' 2) a field within the table that includes a special character, ž 3) an AS2 Flash movie that uses my_load_vars.sendAndLoad( "my.php" , my_load_vars , "POST" ) ; 4) my.php ... mysql_query( "select the_column from the_table" ) ... echo "&result=" . utf8_encode( $row[ the_column ] ) ; IN FLASH: - if I run the script using my_load_vars.send( ... ) I can see in my browser that php is outputting the ž; - however by the time I trace( my_load_vars.result ) it has been converted to a square ... Š - I have been playing with the #include 'special_characters.txt' approach but without any success; - I have the dynamic textfields in flash embedded and the special characters included as a part of the embedding; any thoughts? Link to comment https://forums.phpfreaks.com/topic/203857-how-to-get-special-characters-from-mysql-flash-textfield/ Share on other sites More sharing options...
dsdsdsdsd Posted June 4, 2010 Author Share Posted June 4, 2010 echo " Č or " . utf8_encode( "Č" ) // outputs "C or C" Link to comment https://forums.phpfreaks.com/topic/203857-how-to-get-special-characters-from-mysql-flash-textfield/#findComment-1067794 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.