Welcome to WebmasterWorld Guest from

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)

5+ Year Member

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!

Featured Threads

Hot Threads This Week

Hot Threads This Month