detect_kanji()

NAME
       detect_kanji - detect encoding method of kanji code.

SYNOPSIS
       #include <jconv.h>

       int detect_kanji(unsigned char *s);

DESCRIPTION
       The detect_kanji() function detects encoding method of s.

RETURN VALUE
       The detect_kanji() functions return an integer an integer defined
       _ASCII_, _JIS, _SJIS_ and _EUC_.



convert_kanji_auto()

NAME
       convert_kanji_auto - convert kanji code from any to current locale.

SYNOPSIS
       #include <jconv.h>

       char *convert_kanji_auto(char *s);

DESCRIPTION
       The convert_kanji_auto() function detects encoding method of s and
       convert it to the code which specified by current locale.

RETURN VALUE
       The convert_kanji_auto() functions return a pointer to the converted
       string if it's succeed, or return NULL if it's failed.  When the
       return value isn't NULL, the programmer have to call free() because
       the convert_kanji_auto() function called strdup() internally.

SEE ALSO
       strdup(3), malloc(3), free(3)



convert_kanji()

NAME
       convert_kanji - convert kanji code from any to specified encoding.

SYNOPSIS
       #include <jconv.h>

       char *convert_kanji(char *s, char *dstset);

DESCRIPTION
       The convert_kanji() function detects encoding method of s and
       convert it to the code which specified by dstset. dstset should
       point to "ISO-2022-JP", "EUCJP" or "SJIS".

RETURN VALUE
       The convert_kanji() functions return a pointer to the converted
       string if it's succeed, or return NULL if it's failed.  When the
       return value isn't NULL, the programmer have to call free() because
       the convert_kanji() function called strdup() internally.

SEE ALSO
       strdup(3), malloc(3), free(3)
