Arkane Posted November 24, 2008 Share Posted November 24, 2008 Hey folks, I'm kinda stuck with a little bit. I have some stuff, which seems incredibly convoluted, but it works for what I need. Basically, I have a php page which queries a MySQL server, and writes the results to an XML file. The problem is, the XML needs to be in UTF-16, but as far as I can tell its not being written as this, and its stopping things from working on the other end when the XML is used. Is there any way to save the file as UTF-16 using fwrite, or do I need to use some other method... or is it just impossible? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/133996-utf-16/ Share on other sites More sharing options...
Adam Posted November 24, 2008 Share Posted November 24, 2008 Had a look around but can't find anything to help you, apart from just to suggest looking through the multibyte functions .. http://uk2.php.net/mbstring Adam Quote Link to comment https://forums.phpfreaks.com/topic/133996-utf-16/#findComment-697487 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.