SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Unicodes

  1. #1
    SitePoint Zealot
    Join Date
    Jan 2005
    Location
    Mars
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Unicodes

    Hi everyone,

    I am trying to insert some unicode into a JTextPane document but i have a concern as to whether the unicode will be recognized on other platform besides windows.

    This is what i did

    Code:
    StyledDocument.insertString(TextPane.getCaretPosition(),"\u25CF" + " ", null);
    Will my above code be recognised on other platforms besides windows because of the unicode that i am inserting?

    Any help is greatly appreciated

    Thank You

    Yours Sincerely

    Richard West

  2. #2
    SitePoint Wizard silver trophy rushiku's Avatar
    Join Date
    Dec 2003
    Location
    A van down by the river
    Posts
    2,056
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Unicode is platform independent, iow: the unicode character will be properly displayed on any system has properly implemented unicode.


Bookmarks

Posting Permissions

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