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!