Retrieves the "General Category" of the first code point in some UTF-8 string. For broken UTF-8, the property is set to GeneralCategory.__ (0).
the UTF-8 encoded text, which must not be empty
a code point information struct consisting of a the fields property, containing the GeneralCategory enumeration and the length of the code point in bytes.
See Implementation
Retrieves the "General Category" of the first code point in some UTF-8 string. For broken UTF-8, the property is set to GeneralCategory.__ (0).