sunos man page for wctrans_ja

Query: wctrans_ja

OS: sunos

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

wctrans_ja(3C)						   Standard C Library Functions 					    wctrans_ja(3C)

NAME
wctrans_ja - Wide character conversion for the Japanese locale
SYNOPSIS
#include <wchar.h> wctrans_t wctrans(const char *property);
DESCRIPTION
wctrans() builds values in wctrans_t data type according to the specification with the property argument to allow conversion between wide characters. towctrans() is used for actual conversion. wctrans() returns arguments that towctrans() needs to use. The following character class names are defined in every locale. tolower toupper In addition to the above, the Japanese locale (ja, ja_JP.PCK and ja_JP.UTF-8) defines the following character classes specific to the Japa- nese locale. tojhira tojkata tojisx0208 tojisx0201 These can be also used as property arguments to wctrans(). However, the use of these classes are limited to applications for the Japanese locale only. tolower Specifies conversion to lowercase alphabet wide characters. toupper Specifies conversion to uppercase alphabet wide characters. tojhira Specifies conversion of JIS X 0208 Katakana to Hiragana. tojkata Specifies conversion of JIS X 0208 Hiragana to Katakana. tojisx0208 Specifies conversion of JIS X 0201 Roman character graphic set or Katakana character graphic set to the associated JIS X 0208 characters. tojisx0201 Specifies conversion of JIS X 0208 characters to the associated JIS X 0201 Roman character graphic set or Katakana charac- ter graphic set.
EXAMPLE
The following shows an example to convert a wide character wc to Hiragana. towctrans(wc, wctrans("tojhira"))
SEE ALSO
towctrans(3C), wctrans(3C), wctype_ja(3C), jconv(3X), PCK(5), eucJP(5) SunOS 5.10 10 Jan 2003 wctrans_ja(3C)
Related Man Pages
towctrans_l(3) - mojave
towctrans(3) - mojave
euctosj(1) - sunos
towctrans(3) - osf1
wctrans(3) - osf1
Similar Topics in the Unix Linux Community
To check if the first character is a alphabet or number
New committer: Ryusuke SUZUKI (doc/ja_JP, www/ja)
Locales and conversion tables confusion - Some characters don't get translated