what is the logic behind that extra byte? I know the significance of first byte , but specifically second byte is for what reason? I want to know the significance of second (eight bits) byte.
Asked
Active
Viewed 21 times
0
-
You may need to read [this](https://docs.oracle.com/javase/tutorial/i18n/text/unicode.html) article – MaxZoom Sep 18 '15 at 18:39
-
or [this one](http://www.joelonsoftware.com/articles/Unicode.html) – yshavit Sep 18 '15 at 18:51
-
There is well over 64K unicode characters, a byte is not going to be enough. Actually 2 bytes is not enough so Java uses UTF-16 encoding to store code points, i.e. characters above 64K. – Peter Lawrey Sep 18 '15 at 19:00