This option controls the encoding of the string data a user application retrieves in. RDM currently only supports "utf-8" (default) and "cp1252" (Windows 1252) encoding.
- Default Value
The default value for api_encoding
is "utf-8".
- Example
api_encoding=cp1252
- Note
- The application developer is encouraged to use the default value for the
api_encoding
option.
- Database Configuration Options
This option key is associated with the RDM_DB handle (or RDM_CPP::Db for C++) and can be set using one of the following functions:
The option key can also be associated with the
RDM_TFS handle (or
RDM_CPP::TFS for C++) which will be inherited by the next
RDM_DB handle (or
RDM_CPP::Db for C++) allocated. Modifications to the
RDM_TFS after the
RDM_DB is allocated have no effect on the allocated
RDM_DB. The following functions can be used to set the key/values to be inherited later: