wctrans_ja(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

wctrans_ja(3c)

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 a wctrans_t data type according to the spec‐
       ification  in  the  property  argument to allow conversion between wide
       characters. towctrans() is used for the  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
       Japanese 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 lo‐
       cale only.

       tolower       Specifies conversion to lowercase alphabet  wide  charac‐
                     ters.


       toupper       Specifies  conversion  to uppercase alphabet wide charac‐
                     ters.


       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 as‐
                     sociated JIS X 0208 characters.


       tojisx0201    Specifies conversion of JIS X 0208 characters to the  as‐
                     sociated  JIS  X  0201  Roman  character  graphic  set or
                     Katakana character graphic set.


       Example 1 Converting a Wide Character to Hiragana



       The following shows an example to convert a wide character wc to  Hira‐
       gana.


         towctrans(wc, wctrans("tojhira"))


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab()  box; cw(1.37i) |cw(4.12i) lw(1.37i) |lw(4.12i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _  AvailabilityT{  system/locale  for  ja_JP.UTF-8,  sys‐
       tem/locale/extra for ja_JP.eucJP and ja_JP.PCK T}


SEE ALSO
       towctrans(3C), wctrans(3C), wctype_ja(3C), PCK(7), eucJP(7)

Oracle Solaris 11.4               25 Nov 2024                   wctrans_ja(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3