str
.
If form
is specified, the string is normalized.
Parameters
Parameter | Type | Description |
---|---|---|
str | string | The string to convert. |
form ? | UnicodeNormalizationForm | The normalization form to use. |
Returns
Uint8Array
The UTF-8 byte representation.
str
.
If form
is specified, the string is normalized.
Parameter | Type | Description |
---|---|---|
str | string | The string to convert. |
form ? | UnicodeNormalizationForm | The normalization form to use. |
Uint8Array
The UTF-8 byte representation.