#include "app.h"
#include <iconv.h>
Go to the source code of this file.
Functions | |
boolean | charconv_iconv_setup (char *fromcode, char *tocode, boolean *enable_conv) |
Setup charset conversion for iconv. | |
char * | charconv_iconv (char *instr, char *outstr, int maxoutlen) |
Apply charset conversion to a string using iconv. | |
Variables | |
static iconv_t | cd = (iconv_t)-1 |
Converstion descriptor. |
Definition in file charconv_iconv.c.
Setup charset conversion for iconv.
fromcode | [in] input charset code name (NULL invalid) | |
tocode | [in] output charset code name, or NULL when disable conversion | |
enable_conv | [out] return whether conversion should be enabled or not |
Definition at line 45 of file charconv_iconv.c.
Referenced by charconv_setup_real().
char* charconv_iconv | ( | char * | instr, | |
char * | outstr, | |||
int | maxoutlen | |||
) |
Apply charset conversion to a string using iconv.
instr | [in] source string | |
outstr | [out] destination buffer | |
maxoutlen | [in] allocated length of outstr in byte. |
Definition at line 92 of file charconv_iconv.c.
Referenced by charconv().