homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

[xampp] character encoding of XML files

5+ Year Member

Msg#: 4323097 posted 7:05 pm on Jun 7, 2011 (gmt 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!


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved