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)NAMEwctrans_ja - Wide character conversion for the Japanese localeSYNOPSIS#include <wchar.h> wctrans_t wctrans(const char *property);DESCRIPTIONwctrans() 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.EXAMPLEThe following shows an example to convert a wide character wc to Hiragana. towctrans(wc, wctrans("tojhira"))SEE ALSOtowctrans(3C), wctrans(3C), wctype_ja(3C), jconv(3X), PCK(5), eucJP(5) SunOS 5.10 10 Jan 2003 wctrans_ja(3C)