/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
			// your code goes here
			byte[] big5Bytes=new byte[]{ (byte)0xAB , (byte)0xA2 };
			byte[] utf8Bytes=new byte[]{ (byte)0xE5 , (byte)0x93 ,  (byte)0x88};
			String strBig5=new String(big5Bytes,"Big5");
			String strUTF8=new String(utf8Bytes,"UTF8");
			
			System.out.println("-------- \"哈\" in Unicode encoding----------");
			byte[] unicodeBytes="哈".getBytes("Unicode");
			for(byte b:unicodeBytes) System.out.printf("%02X ",b);
			System.out.println("\n----------------------");
			
			
			System.out.println(" strBig5 = "+strBig5);
			System.out.println(" strUTF8 = "+strUTF8);
			
			System.out.println("===== strBig5 store in Java =====");
			for(int i=0;i<strBig5.length();i++)
				System.out.printf("%04X ",strBig5.codePointAt(i));
			System.out.println();
			System.out.println("===== strUTF8 store in Java =====");
			for(int i=0;i<strUTF8.length();i++)
				System.out.printf("%04X ",strUTF8.codePointAt(i));
	}
}