Joke Collection Website - Blessing messages - How many bytes does the space symbol occupy?

How many bytes does the space symbol occupy?

A space usually takes up 2 characters.

In the program, it depends on the character set used by the program: when using multi-byte character set, the half-angle space takes up 1 byte.

When using the Unicode character set, half-width spaces occupy 2 bytes and full-width spaces occupy 2 bytes.

In the file, according to the different encoding used when saving the file, when saving the file with ANSI encoding, the half-angle space takes up 1 byte and the full-angle space takes up 2 bytes; When saving a file with UTF8 encoding, half-angle space takes up 1 byte, and full-angle space takes up 3 bytes.