Encoding
toUtf8CodePoints
Returns the UTF-8 code-points for 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
number
[]
The UTF-8 code-points.
Source
Was this page helpful?