This struct provides a namespace for static methods used for validating UTF‐8 strings, for counting the number of Unicode code points in them, for advancing pointers through UTF‐8 strings by a specified number of Unicode code points, for counting the number of bytes a UTF‐8 leading substring occupies, for counting the number of bytes in a UTF‐8 character, and for appending a Unicode character to a UTF‐8 string.
Synopsis
Declared in <bdlde_utf8util.h>
struct Utf8Util;
Type Aliases
Name |
Description |
This |
|
This |
|
This |
|
This |
Enums
Name |
Description |
Substitution code point constants. |
|
Enumerate the error status values that are returned (possibly through an out parameter) from some methods in this utility. Note that some of the functions in this |
Static Member Functions
Name |
Description |
|
|
|
|
Append the UTF‐8 encoding of the specified Unicode |
|
|
|
Return the numeric value of the UTF‐8‐encoded code point beginning at the specified |
|
Return the length (in bytes) of the UTF‐8‐encoded code point beginning at the specified |
|
|
|
|
|
If the specified |
|
Return the length (in bytes) of the specified |
|
Return the length (in bytes) of the UTF‐8‐encoded code point beginning at the specified |
|
Return the length (in bytes) of the specified |
|
|
|
|
|
|
|
|
|
|
|
Read from the specified |
|
|
|
Return the non‐modifiable string representation of the |
Created with MrDocs