Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: getting Unicode character names from string

by McA (Deacon)
on Oct 10, 2012 at 18:57 UTC ( #998287=note: print w/ replies, xml ) Need Help??


in reply to getting Unicode character names from string

Hi!

Look at this http://perldoc.perl.org/charnames.html

I'm pretty sure you find the answer to your first question.

Best regards
McA


Comment on Re: getting Unicode character names from string
Re^2: getting Unicode character names from string
by csthflk (Novice) on Oct 10, 2012 at 19:21 UTC
    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

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998287]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2014-07-23 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (149 votes), past polls