XML_sql2xml::setEncoding

XML_sql2xml::setEncoding

XML_sql2xml::setEncoding -- set encoding charset

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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.