previousXML_sql2xml::setOptions (Previous) (Next) XML_sql2xml::getXpathValuenext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

XML_sql2xml::setEncoding

XML_sql2xml::setEncoding – set encoding charset

Synopsis

require_once "XML/sql2xml.php";

void XML_sql2xml::setEncoding ( string $encoding_from="ISO-8859-1" , string $encoding_to="UTF-8" )

Description

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.

Parameter

  • string $encoding_from - encoding to transform from

  • string $encoding_to - encoding to transform to

Note

This function can not be called statically.

previousXML_sql2xml::setOptions (Previous) (Next) XML_sql2xml::getXpathValuenext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.