libsent/src/util/charconv_iconv.c

文字コード変換 (iconvライブラリ使用) [詳細]

#include <sent/stddefs.h>
#include <iconv.h>
charconv_iconv.cのインクルード依存関係図

ソースコードを見る。

関数

boolean charconv_iconv_setup (char *fromcode, char *tocode, boolean *enable_conv)
char * charconv_iconv (char *instr, char *outstr, int maxoutlen)

変数

static iconv_t cd = (iconv_t)-1
 Converstion descriptor.

説明

文字コード変換 (iconvライブラリ使用)

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

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


関数

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

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

charconv_iconv.c44 行で定義されています。

参照元 j_printf_set_charconv().

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

charconv_iconv.c91 行で定義されています。

参照元 charconv().


Juliusに対してTue Sep 22 00:15:32 2009に生成されました。  doxygen 1.6.0