kirie
04-23-2006, 04:56 PM
What is it that makes an ajaxrequest to a PHP script, convert all special characters (like æ,ø,å ) to weird letters (like §,|,&,#), and when i "echo" the same sting back to the ajax/javascript that sendt the string to the PHP script, it's back to normal (æ,ø,å). Okey, easy to understand? Well, se:
ajaxpage: PHP page: ajaxpage:
Æ Ø Å ---------> § | # ----> Æ Ø Å
but I want to save the string to a file, and the file just gets these "§ | #"-letters :confused:
ajaxpage: PHP page: ajaxpage:
Æ Ø Å ---------> § | # ----> Æ Ø Å
but I want to save the string to a file, and the file just gets these "§ | #"-letters :confused: