Unicode Tutorials - Herong's Tutorial Examples - Version 5.21, by Dr. Herong Yang
Testing decode() Methods
This section describes 4 different methods provided in Java to decode byte sequences back to characters with a given encoding.
There are 4 methods provided in Java 11 to decode characters:
The way to use those methods is similar to encode methods described in previous sections.
Exercise: Write a Java program to decode byte sequences back to Unicode character code points.
Table of Contents