Re: Return XML using PHP and Content-Type with UTF-8 breaks the UTF-8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mathijs a écrit :
Hello there,

I Have an problem with UTF-8 and XML.

I Output perfect XML (according to IE, Opera and Firefox).
I use the Content-Type header with "text/xml; charset=utf-8".
For some reason this breaks UTF-8 output.
When i remove it it works. But i need the text/xml header.

Hi,
could you check which encoding your script is saved with ?
I saw some strange things when printing some iso-8859 strings with a php script
saved in utf-8.

N F
If i save an document as .xml with the same contents as UTF-8 it works.

Is this a known problem?

Thx in advanced.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux