0 Replies Latest reply: Apr 29, 2012 3:26 PM by 933948 RSS

    displaying characters with code point above 0xFFFF in Swing

    933948
      Can you provide a working application example that correctly displays in a JTextArea (or other component) a character with a code point > 0xFFFF?

      My web browsers do so fine, and I have a font installed that should do so, which I set in my application, but text displays apparently ignoring the high bits of the code point. The String correctly holds the surrogate pair, but 0x10400 displays as if it were 0x0400.

      Also, does swing support characters in the Private User Area (plane 15)?

      thanks!

      Edited by: 930945 on Apr 29, 2012 1:25 PM