Julius 4.2
|
文字コード変換 (libjcode 使用) [詳細]
#include "app.h"
#include "libjcode/jlib.h"
関数 | |
boolean | charconv_libjcode_setup (char *fromcode, char *tocode, boolean *enable_conv) |
Setup charset conversion for libjcode. | |
char * | charconv_libjcode (char *instr, char *outstr, int maxoutlen) |
Apply charset conversion to a string using libjcode. | |
変数 | |
static int | convert_to = SJIS |
Conversion target. |
文字コード変換 (libjcode 使用)
日本語の文字コード(JIS,EUC,SJIS)の相互変換のみ可能である.
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 |
charconv_libjcode.c の 50 行で定義されています。
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. |
charconv_libjcode.c の 89 行で定義されています。
参照元 charconv().