Couldn't have said it better myself.
Couldn't have said it better myself.
What does that mean exactly? Everything seemed really well explained until then. The line above lost me.
EDIT: I think I'm confused with the difference between UTF32 and Unicode. Is there one?
There are many different ways to actually store these sequences of code points in a computer. UTF-32 is one of those ways. It takes the decimal integer, coverts it to a 32-bit binary integer, and then splits that number into four 8-bit bytes. As the book says, there are problems with space usage -- in ordinary English text, all the code points will be U+127 or less, which leads to a lot of zero bytes taking up space. In addition to the waste of space, zero bytes can cause problems in C, since they're the symbol for the end of the string. So people invented other 'encodings' to convert Unicode code-points into bytes. UTF-16, UTF-8, etc.