How many characters can UTF-8 encode?

前端 未结 10 1361
一个人的身影
一个人的身影 2020-11-28 01:55

If UTF-8 is 8 bits, does it not mean that there can be only maximum of 256 different characters?

The first 128 code points are the same as in ASCII. But it says UTF-

10条回答
  •  难免孤独
    2020-11-28 02:26

    UTF-8 is a variable length encoding with a minimum of 8 bits per character.
    Characters with higher code points will take up to 32 bits.

提交回复
热议问题