Customised Java UTF-16
I have implemented customized encoding mechanism for javaUTF16. Does this implementation support all the characters? public class Encoding { public static void main(String[] args) { byte [] arr = new byte[1000]; String str = “abcde” ; //even this encoding works supplementary characters Encode(arr,0,str); System.out.println(Decode(arr,str.length())); } public static byte[] Encode(byte[] ByteArray , int offset ,String str) … Read more