Results 1 to 2 of 2
  1. #1
    jchip is offline Member
    Join Date
    Apr 2012
    Rep Power

    Question 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?


  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

Similar Threads

  1. Display number of characters like bar chart
    By Dreaming in forum New To Java
    Replies: 6
    Last Post: 10-17-2011, 06:11 AM
  2. display utf8 characters with itext
    By dany_future in forum AWT / Swing
    Replies: 0
    Last Post: 04-22-2011, 03:01 PM
  3. Replies: 1
    Last Post: 12-01-2010, 06:35 PM
  4. Replies: 1
    Last Post: 05-31-2010, 08:46 AM
  5. How to Display Hindi Characters?
    By sayan751 in forum AWT / Swing
    Replies: 1
    Last Post: 03-03-2009, 03:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts