seco Posted January 7, 2008 Share Posted January 7, 2008 Hi i have xml file on the server and i want to change it's encoding (i mean the encoding of characters itself) not the above encoding tag text of the xml file how to do that using php? thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/84926-how-to-change-xml-file-encoding-using-php/ Share on other sites More sharing options...
btherl Posted January 8, 2008 Share Posted January 8, 2008 The iconv() function will do character set conversion. I'm not sure if you apply that to the entire document though. Quote Link to comment https://forums.phpfreaks.com/topic/84926-how-to-change-xml-file-encoding-using-php/#findComment-433166 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.