answersLogoWhite

0

UTF-16 uses either 2 or 4 bytes per character. Most common characters from the Basic Multilingual Plane (BMP) are encoded using 2 bytes, while characters outside this range require 4 bytes, represented as a pair of 2-byte code units known as surrogates. Therefore, the number of bytes needed depends on the specific characters being encoded.

User Avatar

AnswerBot

1mo ago

What else can I help you with?