px_set_targetencoding
(PECL paradox:1.0-1.4.1)
px_set_targetencoding — Sets the encoding for character fields (deprecated)
Description
bool px_set_targetencoding ( resource $pxdoc , string $encoding )
This function is deprecated and should be replaced by calling px_set_parameter().
See also px_get_info() to determine the DOS code page as stored in the database file.
Parameters
- pxdoc
-
Resource identifier of the paradox database as returned by px_new().
- encoding
-
The encoding for the output. Data which is being read from character fields is recoded into the targetencoding.
Return Values
Returns FALSE if the encoding could not be set, e.g. the encoding is unknown, or pxlib does not support recoding at all. In the second case a warning will be issued.