A 'Unicode::String' object represents a sequence of Unicode characters. Methods are provided to convert between various external formats (encodings) and 'Unicode::String' objects, and methods are provided for common string manipulations.
The functions utf32be(), utf32le(), utf16be(), utf16le(), utf8(), utf7(), latin1(), uhex(), uchr() can be imported from the 'Unicode::String' module and will work as constructors initializing strings of the corresponding encoding.
The 'Unicode::String' objects overload various operators, which means that they in most cases can be treated like plain strings.
Internally a 'Unicode::String' object is represented by a string of 2 byte numbers in network byte order (big-endian). This representation is not visible by the API provided, but it might be useful to know in order to predict the efficiency of the provided methods.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
2.10-bp156.3.3 info | GA Release | 2023-12-07 | 15 SP6 |
|
|
2.10-bp155.2.11 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
2.10-bp154.1.24 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
2.10-bp153.1.16 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
2.10-bp152.3.15 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
2.10-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
2.10-bp151.2.16 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
2.10-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|