table of contents
PX_SET_INPUTENCODING(3) | Library Functions Manual | PX_SET_INPUTENCODING(3) |
NAME¶
PX_set_inputencoding — Set encoding for outputSYNOPSIS¶
#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.