Closed yisibl closed 1 year ago
@khaledhosny says:
charCodeAt gives UTF-16 code units (including surrogate pairs), you should use codePointAt instead. https://github.com/harfbuzz/harfbuzzjs/pull/73#pullrequestreview-1350232873
charCodeAt
codePointAt
@khaledhosny says: