void XML_sql2xml::setEncoding (
string $encoding_from="ISO-8859-1"
,
string $encoding_to="UTF-8"
)
Sets the encoding for the db2xml transformation. The $encoding_from value depends on your database system; check the DBMS manual which encoding your system use to deliever result sets.
The $encoding_to sets the charset for the created XML document.
string $encoding_from - encoding to transform from
string $encoding_to - encoding to transform to
This function can not be called statically.