Julius 4.2
|
文字コード変換 (iconvライブラリ使用) [詳細]
#include "app.h"
#include <iconv.h>
関数 | |
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. | |
変数 | |
static iconv_t | cd = (iconv_t)-1 |
Converstion descriptor. |
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 |
charconv_iconv.c の 45 行で定義されています。
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. |
charconv_iconv.c の 92 行で定義されています。
参照元 charconv().