swing or awt display text with characters above 0xfffe
Can someone provide example of how to display characters with code points above 0xfffe? I've set a font for a JTextArea, and the font has high characters (it works in a web browser). I assemble a String to have a high character, such as 0x10400, and it occupies 2 character positions in the String, but when I add it to the text area it gets truncated (apparently) and displays the character for 0x0400. Any ideas?
Also, does anyone know if Swing should be able to support all UTF-8 characters (all 17 planes) if you have an appropriate font for the requested character?
Re: swing or awt display text with characters above 0xfffe
Java expects all chars to use unicode encoding. You may have to convert your text to this if it does not comply: Converting Non-Unicode Text