Welcome to WebmasterWorld Guest from 54.162.183.2

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

[xampp] character encoding of XML files

     
7:05 pm on Jun 7, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Nov 30, 2008
posts: 42
votes: 0


Hi everybody!

I have a PHP script that generates an utf-8-encoded XML file on a remote LAMP server. It extracts data from a DB (which has collation utf-8 general) and print them in a XML structure. It works perfectly.

I installed locally a xampp and the same file present errors of character encoding (? instead of non-latin characters). I tried everything, setting the php.ini, modyfing the httpd.conf but there is nothing to do. Of course if I force the printed XML to be utf-8 with MB_convert_encoding it works well, but I don't want to do this modification for any file.

Does someone have an idea about how to solve this issue?
This problem is driving me crazy!