by trurl42 · 2y ago · 0 comments
It just so happens that your example consists of two UTF-16 codepoints.
(Node.js' Buffer uses UTF-8 by default).