Unicode Tutorials - Herong's Tutorial Examples - Version 5.20, 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 SE 7 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.
Last update: 2012.
Table of Contents