Julius 4.2
関数 | 変数
julius/charconv_libjcode.c

文字コード変換 (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)の相互変換のみ可能である.

作者:
Akinobu LEE
日付:
Thu Feb 17 16:02:41 2005
Revision:
1.3

charconv_libjcode.c で定義されています。


関数

boolean charconv_libjcode_setup ( char *  fromcode,
char *  tocode,
boolean enable_conv 
)

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
戻り値:
TRUE on success, FALSE on failure (unknown name).

charconv_libjcode.c50 行で定義されています。

参照元 charconv_setup_real().

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.
戻り値:
either of instr or outstr, that holds the result string.

charconv_libjcode.c89 行で定義されています。

参照元 charconv().