How does Java store UTF-16 characters in its 16-bit char type?
utf char in Java
How can Java handle characters that are unencodeable in UTF-16? Java - Convert byte[] to char[]. The encoding is UTF-16 How to set UTF-16 encoding format for Xml? How to check if character is UTF-16 Char size 8 bit or 16 bit? How to Open File in UTF-8 and Write in Another File in UTF-16 Android/Java: convert UTF-8 to UTF-16 Why use 1<<4 instead of 16? How do I convert 16-bit char array to 8-bit char array and send to c code using JNA? Read UTF-16 chars from a file and store them as UTF-8 how to convert a string to UTF-16 UTF-16 Encoding How to Convert 8 bit to 16 bit? Why in Java right-shifting 16 by 32 results in 16 and not 0? 16>>32 = 16 Why? UTF-16 Character Encoding of java Why Java char uses UTF-16? Does String object in Java store characters in a char array? Difference between UTF-8 and UTF-16? Convert ArrayList with Integes to UTF-16 String Written UTF-16 character to a file by using UTF-8 charset output stream in java but resulting data on file is still UTF-16. why? Using char as an unsigned 16 bit value in Java? FileNotFoundExeption on API 16 Is an instance of a Java string always valid UTF-16? How can I convert UTF-16 to UTF-32 in java? UTF-8 and UTF-16 in Java Java UTF-16 conversion to UTF-8 Which encoding does Java uses UTF-8 or UTF-16? decode UTF-16 text How to use UTF-16 in URL encoding?