#include <wchar.h>wctrans_t wctrans(const char *property);
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.
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.
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.
Specifies conversion to lowercase alphabet wide characters.
Specifies conversion to uppercase alphabet wide characters.
Specifies conversion of JIS X 0208 Katakana to Hiragana.
Specifies conversion of JIS X 0208 Hiragana to Katakana.
Specifies conversion of JIS X 0201 Roman character graphic set or Katakana character graphic set to the associated JIS X 0208 characters.
Specifies conversion of JIS X 0208 characters to the associated JIS X 0201 Roman character graphic set or Katakana character graphic set.