debian man page for px_set_inputencoding

Query: px_set_inputencoding

OS: debian

Section: 3

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

PX_SET_INPUTENCODING(3) 				     Library Functions Manual					   PX_SET_INPUTENCODING(3)

NAME
PX_set_inputencoding -- Set encoding for output
SYNOPSIS
#include <paradox.h> int PX_set_inputencoding(pxdoc_t *pxdoc, const char *encoding)
DESCRIPTION
Sets the input encoding for all alpha fields. It is used when data is stored into a record. The encoding must be a name as it is described by the man and info pages of recode or iconv whatever is used. A common value is `latin1' on Unix systems. If you do not set the encoding the function PX_get_data_alpha(3) will return field data in the original encoding otherwise it will recode the field data. This function is a short cut form PX_set_parameter(pxdoc, "inputencoding", encoding) and is deprecated.
RETURN VALUE
Returns -2 if recoding is not supported and a value < 0 in case of an error, otherwise 0.
SEE ALSO
PX_set_data_alpha(3), PX_set_targetencoding(3), PX_set_parameter(3), iconv(1), recode(1)
AUTHOR
This manual page was written by Uwe Steinmann uwe@steinmann.cx. PX_SET_INPUTENCODING(3)
Related Man Pages
px_get_data_alpha(3) - debian
px_get_data_bytes(3) - debian
px_insert_record(3) - debian
px_set_parameter(3) - debian
px_set_targetencoding(3) - debian
Similar Topics in the Unix Linux Community
The Unix Crash of 2036
Please help
recode 3.7-beta2 (Default branch)
Writing an algorithm to recode data points
Extract header data from one file and combine it with data from another file