http://www.perlmonks.org?node_id=998291


in reply to Re: getting Unicode character names from string
in thread getting Unicode character names from string

Thanks for the reply McA, but unfortunately the answer is not there. I actually did read that page before posting, and again more closely after your message. I see that I can get the name if I pass the numeric code of the Unicode character to charnames::viacode(), but I do not know how to obtain the numeric code at runtime.

So I can match named characters, and write named characters, but I can't yet get the names from characters that are already in Unicode.

Jason
  • Comment on Re^2: getting Unicode character names from string

Replies are listed 'Best First'.
Re^3: getting Unicode character names from string
by Corion (Patriarch) on Oct 10, 2012 at 19:30 UTC

    Most likely, Unicode::Tussle contains something you can use, or use the source of. Most likely the uniprops program.