I have a DB MSSQL SERVER 2008, i’m trying to show some columns, but with Firefox it popup an alert.
How can i create a XML with another encoding?
Hello
With grid connector set encoding
$conn->set_encoding("utf-8");
using custom XML like (I´m using PHP)
<?php
header("Content-type: text/xml");
echo('<?xml version="1.0" encoding="utf-8"?>');
echo "<rows>";
echo"<row id='1'>";
echo "<cell ><![CDATA[ cell 1-1 ]]></cell>";
echo "<cell ><![CDATA[ cell 1-2 ]]></cell>";
echo"</row>";
echo"<row id='2'>";
echo "<cell ><![CDATA[ cell 2-1 ]]></cell>";
echo "<cell ><![CDATA[ cell 2-2 ]]></cell>";
echo"</row>";
echo "</rows>";
?>