0

Encoding

Hello guys! I am a little confused with encoding. I know that ASCII stores 7-bits, so it can hold 2^7 = 128 different characters. But somewhere I read that ASCII can also hold 8-bits. Is that true? If yes, so that means that we can hold 2^8 = 255 different characters. So where is the difference from UTF-8?

22nd Apr 2020, 9:29 PM
ptokm
ptokm - avatar
1 Odpowiedź
0
ptokm here is a reference to explain this question https://stackoverflow.com/a/14690651/7218253
22nd Apr 2020, 10:32 PM
BroFar
BroFar - avatar