Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / October 2006

Tip: Looking for answers? Try searching our database.

Unicodes

Thread view: 
freesoft_2000 - 05 Oct 2006 17:00 GMT
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

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
Oliver Wong - 05 Oct 2006 17:09 GMT
> Hi everyone,
>
[quoted text clipped - 9 lines]
> Will my above code be recognised on other platforms besides windows
> because of the unicode that i am inserting?

   Unicode, like ASCII, is a platform independent standard. Individual
platforms may or may not implement Unicode support, but given how popular it
is, probably any platform which doesn't support it would be considered a
"toy" instead of a serious platform. Linux, MacOSX and Windows all provide
unicode support.

   The only issue you'd have to worry about is whether the platform has a
font which can display the glyph representing the character you've inserted.
Worst case, you can always supply a font with your application.

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.