Hi,
 
I build a webpage with  default charset=ISO-8859-1" encoding.
 
I need to include another .xml file built in utf-16 encoding:
 
          <xi:include href="" parse="text" encoding="UTF-16">
            <xi:fallback>
              <p>Example currently unavailable</p>
            </xi:fallback>
          </xi:include>
 
The result is :
...
 &yuml;&thorn;&lt;&#0;?&#0;x&#0;m&#0;l&#0; &#0;v&#0;e&#0;r&#0;s&#0;i&#0;o&#0;n&#0;=&#0;"&#0;1&#0;.&#0;0&#0;"&#0; 
&#0;e&#0;n&#0;c&#0;o&#0;d&#0;i&#0;n&#0;g&#0;=&#0;"&#0;U&#0;T&#0;F&#0;-&#0;1&#0;6&#0;"&#0;?&#0;&gt;&#0;&#13;&#0;
&#0;&lt;&#0;m&#0;l&#0;:&#0;d&#0;o&#0;c&#0;u&#0;m&#0;e&#0;n&#0;t&#0;s&#0;
&#0;x&#0;m&#0;l&#0;n&#0;s&#0;:&#0;m&#0;l&#0;=&#0;"&#0;h&#0;t&#0;t&#0;p&#0;:&#0;/&#0;/&#
...
 
Appareantly the file is not recognized as UTF-16. 
 
Note: UTF-8 seems to work.
 
Stefan

Reply via email to