#include "app.h"
Go to the source code of this file.
Functions | |
static boolean | charconv_setup_real (char *fromcode, char *tocode) |
Setup charset conversion. | |
char * | charconv (char *instr, char *outstr, int maxoutlen) |
Apply charset conversion to a string. | |
static boolean | opt_charconv (Jconf *jconf, char *arg[], int argnum) |
static boolean | opt_nocharconv (Jconf *jconf, char *arg[], int argnum) |
static boolean | opt_kanji (Jconf *jconf, char *arg[], int argnum) |
void | charconv_add_option () |
boolean | charconv_setup () |
Variables | |
static boolean | convert_enabled = FALSE |
TRUE if charset converstion is enabled. | |
static char * | from_code = NULL |
static char * | to_code = NULL |
The actual functions are defined for iconv, win32 and libjcode, depending on the OS environment.
Definition in file charconv.c.
static boolean charconv_setup_real | ( | char * | fromcode, | |
char * | tocode | |||
) | [static] |
Setup charset conversion.
fromcode | [in] input charset name (only libjcode accepts NULL) | |
tocode | [in] output charset name, or NULL when disable conversion |
Definition at line 47 of file charconv.c.
char* charconv | ( | char * | instr, | |
char * | outstr, | |||
int | maxoutlen | |||
) |
Apply charset conversion to a string.
instr | [in] source string | |
outstr | [in] destination buffer | |
maxoutlen | [in] allocated length of outstr in byte. |
Definition at line 81 of file charconv.c.