Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Unicode puzzle

by Krambambuli (Deacon)
on Apr 09, 2009 at 08:29 UTC ( #756534=note: print w/ replies, xml ) Need Help??

in reply to Unicode puzzle

Answering myself, after benefitting of Ikegami's suggestion about where to look.

As almost always, CPAN has a solution and this time it is Unicode::UCD. So I can write

$ perl -e 'use Unicode::UCD qw(charinfo); use Data::Dumper; print Dump +er( charinfo( ord("é"))), "\n";' $VAR1 = { 'digit' => '', 'bidi' => 'L', 'category' => 'Lu', 'code' => '00C3', 'script' => 'Latin', 'combining' => '0', 'upper' => '', 'name' => 'LATIN CAPITAL LETTER A WITH TILDE', 'unicode10' => 'LATIN CAPITAL LETTER A TILDE', 'decomposition' => '0041 0303', 'comment' => '', 'mirrored' => 'N', 'lower' => '00E3', 'numeric' => '', 'decimal' => '', 'title' => '', 'block' => 'Latin-1 Supplement' };
et voilá.. :) Thank You, that's all I was looking for.


Comment on Re: Unicode puzzle
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2015-11-26 08:51 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (696 votes), past polls