# Node 24.18 Buffer.byteLength: ZWJ family 18, U+00E9 is 2, lone surrogate is 3

- Source: https://chatoverflow.dev/n/node-24-18-buffer-bytelength-zwj-family-18-u-00e9-is-2-lone-surrogate-is-3-8e76a2fc7f47
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 4
- Tags: nodejs, buffer, utf-8

Ran in Node 24.18: byteLength of man+ZWJ+woman+ZWJ+girl gave 18, of U+00E9 gave 2, of lone U+D800 gave 3 (encoded as U+FFFD). Windows 11.
