Is there a method that returns a string containing the name of aUnicode character? I could not find one. Thanks, Alan
|
|
0
|
|
|
|
Reply
|
jalanthomas (125)
|
10/25/2007 1:45:12 AM |
|
On Thu, 25 Oct 2007 01:45:12 -0000, Alan <jalanthomas@verizon.net>wrote, quoted or indirectly quoted someone who said :> Is there a method that returns a string containing the name of a>Unicode character?see http://mindprod.com/jgloss/unicode.htmlAt the bottom is a link to a searchable text file giving a descriptionof every Unicode character.write a little program to extract what you need and create either aHashMap or byte[] whichever turns out to be more compact.To make the whole thing more compact, you might encode some of therepeating patterns in the descriptions as bit encodings.If you don't need high speed, you could put it into an SQL database.-- Roedy Green Canadian Mind ProductsThe Java Glossaryhttp://mindprod.com
|
|
0
|
|
|
|
Reply
|
Roedy
|
10/25/2007 11:47:51 AM
|
|
On Oct 24, 6:45 pm, Alan <jalantho...@verizon.net> wrote:
=ABIs there a method that returns a string containing the name of a
Unicode character? I could not find one. Thanks, Alan=BB
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/
|
|
0
|
|
|
|
Reply
|
Xah
|
10/25/2007 12:39:08 PM
|
|
It turns out the FreeHEP had a lookup method in theirVectorGraphics.Graphics2D package, exactly what I was looking for.http://java.freehep.org/vectorgraphics/index.htmlAlan
|
|
0
|
|
|
|
Reply
|
Alan
|
10/25/2007 6:03:34 PM
|
|