Elektrine lite

← Feed

@Aissen@social.treehouse.systems

Post #1333827

2026-03-27 12:19 UTC

The UCS is split in 17 planes, each capable of having 2^16 characters. The Basic Multilingual Plane (BMP) is the most used. Knowing this is useful for determine how the encoding is done. UTF-32 is wasteful but simple encoding, where each codepoint takes 32 bits. #RustInParis

Replies (1)

  • UTF-16 is the "original sin", Arthur says. It has a hack in the BMP where specific codepoints are used to encode codepoints from other planes using multiple UTF-16 characters. #RustInParis

    Open ##1333828