String functions such as length and reverse and sort are documented to treat strings as sequences of code points, but this implementation incorrectly interprets the code units of each surrogate pair representing a supplementary plane character as independent code points.
cf. https://github.com/jmespath-community/jmespath.test/issues/2
String functions such as
length
andreverse
andsort
are documented to treat strings as sequences of code points, but this implementation incorrectly interprets the code units of each surrogate pair representing a supplementary plane character as independent code points.