The UTF-16 encoding alleviates some of this penalty because each character is specified using two bytes, assuming no surrogate characters.
英
美
- 因为每个字符都规定使用两个字节,同时假设没有代替的字符,所以UTF-16编码在一定程度上减轻了这种性能损失。
