A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/algorithm/../ranges/../string/wide/towctrans.html below:

std::towctrans - cppreference.com

Maps the wide character ch using the current C locale's LC_CTYPE mapping category identified by desc.

If the value of ch is neither representable as a wchar_t nor equal to the value of the macro WEOF, the behavior is undefined.

[edit] Parameters [edit] Return value

The mapped value of ch using the mapping identified by desc in LC_CTYPE facet of the current C locale.

[edit] Example

The following example demonstrates katakana to hiragana character mapping.

Output:

katakana characters ヒラガナ are ひらがな in hiragana
[edit] See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4