#include <sent/stddefs.h>
#include <jlib.h>
Include dependency graph for charconv_libjcode.c:

Go to the source code of this file.
Functions | |
| boolean | charconv_libjcode_setup (char *fromcode, char *tocode, boolean *enable_conv) |
| char * | charconv_libjcode (char *instr, char *outstr, int maxoutlen) |
Variables | |
| static int | convert_to = SJIS |
| Conversion target. | |
Definition in file charconv_libjcode.c.
Setup charset conversion for libjcode.
| fromcode | [in] input charset name (ignored, will be auto-detected) | |
| tocode | [in] output charset name, or NULL when disable conversion | |
| enable_conv | [out] return whether conversion should be enabled or not |
Definition at line 49 of file charconv_libjcode.c.
Referenced by j_printf_set_charconv().
| char* charconv_libjcode | ( | char * | instr, | |
| char * | outstr, | |||
| int | maxoutlen | |||
| ) |
Apply charset conversion to a string using libjcode.
| instr | [in] source string | |
| outstr | [out] destination buffer | |
| maxoutlen | [in] allocated length of outstr in byte. |
Definition at line 88 of file charconv_libjcode.c.
Referenced by charconv().
1.5.0