std.unicode
Function Description
The unicode package provides the capability of processing characters based on the unicode encoding standard.
Unicode is a character encoding standard that provides a unified encoding scheme for all languages and symbols to exchange and process text in a computer system.
The Unicode encoding standard uses a unique code point to represent each character and defines several attributes for each character, such as the category (letter, digit, and punctuation), script (Latin letter, Greek letter, and Chinese character), case mapping (uppercase or lowercase mapping), and voice change symbol (whether there is a voice change symbol, such as an accent symbol).
This package provides UnicodeRuneExtension and UnicodeStringExtension interface types for extending Unicode related character operations for other types. In addition, several extension methods are implemented for the Rune and String types, including character type determination and character case conversion.
API List
Interface
| Name | Description |
|---|---|
| UnicodeRuneExtension | An interface for extending the Unicode character set, which is used to extend the Unicode character set for the Rune type. |
| UnicodeStringExtension | An interface for extending the Unicode character set, which is used to extend the Unicode character set for the String type. |
Enums
| Enum | Description |
|---|---|
| CasingOption | Enumeration types required by different languages during case conversion. |