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 / General / October 2007

Tip: Looking for answers? Try searching our database.

Unicode character names

Thread view: 
Alan - 25 Oct 2007 02:45 GMT
Is there a method that returns a string containing the name of a
Unicode character?

    I could not find one.      Thanks, Alan
Roedy Green - 25 Oct 2007 12:47 GMT
>     Is there a method that returns a string containing the name of a
>Unicode character?

see http://mindprod.com/jgloss/unicode.html

At the bottom is a link to a searchable text file giving a description
of every Unicode character.

write a little program to extract what you need and create either a
HashMap or byte[] whichever turns out to be more compact.

To make the whole thing more compact, you might encode some of the
repeating patterns in the descriptions as bit encodings.

If you don't need high speed, you could put it into an SQL database.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Xah Lee - 25 Oct 2007 13:39 GMT
?Is there a method that returns a string containing the name of a
Unicode character?  I could not find one. Thanks, Alan?

I don't know of Java, but i know easy solutions is emacs and Python...
that might be helpful...

http://xahlee.org/emacs/emacs_n_unicode.html
http://xahlee.org/perl-python/unicodedata_module.html

 Xah
 xah@xahlee.org
 http://xahlee.org/
Alan - 25 Oct 2007 19:03 GMT
It turns out the FreeHEP had a lookup method in their
VectorGraphics.Graphics2D package, exactly what I was looking for.

http://java.freehep.org/vectorgraphics/index.html

Alan


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.