/usr/share/doc/libjconv-dev/README is in libjconv-dev 2.8-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | 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_, _ISO_2022_JP_, _SJIS_ ,_EUC_. _ISO_2022_KR_
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" ,"SJIS", "ISO-2022-KR" or "EUCKR".
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)
convert_kanji_strict()
NAME
convert_kanji_strict - convert kanji code from/to specified encoding.
SYNOPSIS
#include <jconv.h>
char *convert_kanji_strict(char *s, char *dstset, char *srcset);
DESCRIPTION
The convert_kanji_strict() function convert s from the code which is
specified by srcset to the code which is specified by dstset. both srcset
and dstset should point to "ISO-2022-JP", "EUCJP", "SJIS",
"ISO-2022-KR", "EUCKR".
RETURN VALUE
The convert_kanji_strict() 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_strict() function called strdup() internally.
SEE ALSO
strdup(3), malloc(3), free(3)
|