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