For example, there is a readUTF () method in Class DataInputStream
Reads from the stream in a representation of a Unicode character string encoded in modified UTF-8 format; this string of characters is then returned as a String. The details of the modified UTF-8 representation are exactly the same as for the readUTF method of DataInput.
Not a thing at all!
Because unicode occupies a fixed number of bits, transmission and storage are wasteful and UTF-8 is generated. The code is compatible with unicode but it is not a fixed length. It can be understood that UTF-8 is similar to unicode and ASCII is not a thing