ASCII vs. UTF-8 vs. UTF-16 vs. UTF-32

by moutansoson 6/13/2023, 1:46 PMwith 4 comments

by tsukikageon 6/13/2023, 2:12 PM

"IBM z/OS on mainframes used a character set called EBCDI"

"Each ASCII character is 8 bits wide, or one byte. The result of this means that if each bit is either a 1 or a 0 that there are only 128 possible combinations"

"it uses two chunks of 2 bytes, instead of 4-byte chunks in UTF-8"

by chaimanmeowon 6/13/2023, 2:13 PM

does ascii have one of the bits reserved for parity check? This part confuses me:

"Each ASCII character is 8 bits wide, or one byte. The result of this means that if each bit is either a 1 or a 0 that there are only 128 possible combinations of ASCII characters."

If all 8 bits are used for data there should be 255 possible combinations.