Hi Ken,
thank you very much for your suggestions. I updated my post with the perlcommands you suggested.
I just noticed something interesting on the linux-machine wenn running perl -d t/Encode.t :
DB<8> x $uni
0 '\x{03B1}'
DB<9> x is "\N{alpha}",substr($uni,0,1),"alpha does not map to symbol
+'a'";
Unknown charname 'alpha' at (eval 23)[/usr/share/perl/5.18/perl5db.pl:
+732] line 2, within string
DB<10> x is "\N{greek:alpha}",substr($uni,0,1),"alpha does not map to
+symbol 'a'";
ok 6 - alpha does not map to symbol 'a'
0 1
So apparently,
\N{alpha} is also wrong on the linux machine, but somehow the testcase does pass as "ok" anyways. Strange.
Unfortunately, changing alpha to greek:alpha didn't help on the AIX machine. AIX doesn't know about greek:alpha either.
I guess for now, that the Unicode-Table of linux and AIX differ. I am trying to find a way to display all availiable aliases of a unicode point. Something like this:
$unicode_module->get_char_aliases('U+03B1');
GREEK SMALL LETTER ALPHA
ALPHA
alpha
Anyways, I will keep searching. Thanks for all your help so far.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.