jconv(3W) 2/4/92 jconv(3W)
NAME
jconv: tojupper, tojlower, tojhira, tojkata - translate Japanese char-
acters
SYNOPSIS
#include <ctype.h>
#include <widec.h>
#include <wctype.h>
#include <mlx-j/xctype.h>
wchart tojupper(wchart c);
wchart tojlower(wchart c);
wchart tojhira(wchart c);
wchart tojkata(wchart c);
DESCRIPTION
These macros convert between character-coded wchart values in the
Japanese JISX0208 character set using table lookup. The argument c is
the input character, represented in the process code of the japan
locale.
tojupper(c) if c represents a lower-case letter within the
English characters in JISX0208 (0xa3e1-0xa3fa), the
result is the corresponding upper-case letter
(0xa3c1-0xa3da)
tojlower(c) if c is an upper-case English letter in JISX0208
(0xa3c1-0xa3da), the result is the corresponding
lower-case letter (0xa3e1-0xa3fa)
tojhira(c) if c is a katakana letter in JISX0208 (0xa5a1-
0xa5f3), the result is the corresponding hirakana
letter (0xa4a1-0xa4f3)
tojkata(c) if c is a hirakana letter in JISX0208 (0xa4a1-
0xa4f3), the result is the corresponding katakana
letter (0xa5a1-0xa5f3)
In each case for all other arguments the result is the value of c
unchanged.
FILES
/usr/include/mlx-j/xctype.h
japan locale character classification and conversion
macros.
/usr/lib/locale/japan/LCCTYPE
character classification and conversion lookup table
generated by wchrtbl for the ASCII and Japanese
JISX0201 and JISX0208 character sets.
Page 1 Reliant UNIX 5.44 2, 194
jconv(3W) 2/4/92 jconv(3W)
SEE ALSO
ctype(3C), jctype(3W), mbchar(3C), mbchar(3W), wchrtbl(1M), wconv(3W),
wctype(3W).
Page 2 Reliant UNIX 5.44 2, 194