XML encoding UTF-16 using PHP ( I keep getting UTF-8)

nm_2

New Member
I have a PHP script that extracts an XML file from a MYSQL. I have the following line:\[code\]$xml='<?xml version="1.0" encoding="UTF-16"?>;\[/code\]But the extracted file is being recognized as UTF-8 UNIX (LF):
EdyLg.png
I need to have the encoding as UTF-16 and Windows CLRF. What is the correct syntax?Any help is appreciated.
 
Back
Top