php man page for px_set_targetencoding

Query: px_set_targetencoding

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PX_SET_TARGETENCODING(3)												  PX_SET_TARGETENCODING(3)

px_set_targetencoding - Sets the encoding for character fields (deprecated)

SYNOPSIS
bool px_set_targetencoding (resource $pxdoc, string $encoding)
DESCRIPTION
Set the encoding for data retrieved from a character field. All character fields will be recoded to the encoding set by this function. If the encoding is not set, the character data will be returned in the DOS code page encoding as specified in the database file. The $encoding can be any string identifier known to iconv or recode. On Unix systems run iconv -l for a list of available encodings. This function is deprecated and should be replaced by calling px_set_parameter(3). See also px_get_info(3) to determine the DOS code page as stored in the database file.
PARAMETERS
o $pxdoc - Resource identifier of the paradox database as returned by px_new(3). o $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.
SEE ALSO
px_set_parameter(3) PHP Documentation Group PX_SET_TARGETENCODING(3)
Related Man Pages
iconv(1) - opendarwin
manconv(1) - debian
px_set_targetencoding(3) - debian
manconv(1) - centos
px_set_targetencoding(3) - php
Similar Topics in the Unix Linux Community
File encoding in Unix
Writing an algorithm to recode data points
How to find the file encoding and updating the file encoding?
how to find the character encoding of a file in hp_ux
Charsets and encoding details