The character code type specification function is used to pass the type of the character code from a UAP to a hash function for table partitioning or a space conversion function.
By using this function to specify the type of the character code, you can execute processing that depends on the type of character code, such as the hash function for table partitioning and the space conversion function.
For details about the specification configuration, see G.1(3)(b) Specification configuration.
int p_rdb_set_lang(char *lang); |
Type of character codes | Value of lang argument |
---|---|
Shift JIS kanji codes1 | "SJIS" |
EUC Chinese kanji codes | "CHINESE" |
Single-byte character codes2 | "C" |
Unicodes (UTF-8) | "UTF8" |