Character codes: Difference between revisions

Content added Content deleted
(+ Dc)
m (→‎{{header|Perl 6}}: Just playing around because I can)
Line 1,657: Line 1,657:
'Character name',
'Character name',
'Unicode property',
'Unicode property',
'Unicode script',
'Unicode block',
'Ordinal(s)',
'Ordinal(s)',
'Hex ordinal(s)',
'Hex ordinal(s)',
Line 1,668: Line 1,670:
[ $_,
[ $_,
.uninames.join(', '),
.uninames.join(', '),
.uniprops,
.uniprops.join(', '),
.uniprops('Script').join(', '),
.uniprops('Block').join(', '),
.ords,
.ords,
.ords.fmt('0x%X'),
.ords.fmt('0x%X'),
Line 1,683: Line 1,687:
Character name: LATIN CAPITAL LETTER A
Character name: LATIN CAPITAL LETTER A
Unicode property: Lu
Unicode property: Lu
Unicode script: Latin
Unicode block: Basic Latin
Ordinal(s): 65
Ordinal(s): 65
Hex ordinal(s): 0x41
Hex ordinal(s): 0x41
Line 1,694: Line 1,700:
Character name: GREEK CAPITAL LETTER ALPHA
Character name: GREEK CAPITAL LETTER ALPHA
Unicode property: Lu
Unicode property: Lu
Unicode script: Greek
Unicode block: Greek and Coptic
Ordinal(s): 913
Ordinal(s): 913
Hex ordinal(s): 0x391
Hex ordinal(s): 0x391
Line 1,705: Line 1,713:
Character name: CYRILLIC CAPITAL LETTER A
Character name: CYRILLIC CAPITAL LETTER A
Unicode property: Lu
Unicode property: Lu
Unicode script: Cyrillic
Unicode block: Cyrillic
Ordinal(s): 1040
Ordinal(s): 1040
Hex ordinal(s): 0x410
Hex ordinal(s): 0x410
Line 1,716: Line 1,726:
Character name: CJK UNIFIED IDEOGRAPH-2A6A5
Character name: CJK UNIFIED IDEOGRAPH-2A6A5
Unicode property: Lo
Unicode property: Lo
Unicode script: Han
Unicode block: CJK Unified Ideographs Extension B
Ordinal(s): 173733
Ordinal(s): 173733
Hex ordinal(s): 0x2A6A5
Hex ordinal(s): 0x2A6A5
Line 1,726: Line 1,738:
Character: 🇺🇸
Character: 🇺🇸
Character name: REGIONAL INDICATOR SYMBOL LETTER U, REGIONAL INDICATOR SYMBOL LETTER S
Character name: REGIONAL INDICATOR SYMBOL LETTER U, REGIONAL INDICATOR SYMBOL LETTER S
Unicode property: So So
Unicode property: So, So
Unicode script: Common, Common
Unicode block: Enclosed Alphanumeric Supplement, Enclosed Alphanumeric Supplement
Ordinal(s): 127482 127480
Ordinal(s): 127482 127480
Hex ordinal(s): 0x1F1FA 0x1F1F8
Hex ordinal(s): 0x1F1FA 0x1F1F8
Line 1,737: Line 1,751:
Character: 👨‍👩‍👧‍👦
Character: 👨‍👩‍👧‍👦
Character name: MAN, ZERO WIDTH JOINER, WOMAN, ZERO WIDTH JOINER, GIRL, ZERO WIDTH JOINER, BOY
Character name: MAN, ZERO WIDTH JOINER, WOMAN, ZERO WIDTH JOINER, GIRL, ZERO WIDTH JOINER, BOY
Unicode property: So Cf So Cf So Cf So
Unicode property: So, Cf, So, Cf, So, Cf, So
Unicode script: Common, Inherited, Common, Inherited, Common, Inherited, Common
Unicode block: Miscellaneous Symbols and Pictographs, General Punctuation, Miscellaneous Symbols and Pictographs, General Punctuation, Miscellaneous Symbols and Pictographs, General Punctuation, Miscellaneous Symbols and Pictographs
Ordinal(s): 128104 8205 128105 8205 128103 8205 128102
Ordinal(s): 128104 8205 128105 8205 128103 8205 128102
Hex ordinal(s): 0x1F468 0x200D 0x1F469 0x200D 0x1F467 0x200D 0x1F466
Hex ordinal(s): 0x1F468 0x200D 0x1F469 0x200D 0x1F467 0x200D 0x1F466
Line 1,744: Line 1,760:
UTF-16BE: D83D DC68 200D D83D DC69 200D D83D DC67 200D D83D DC66
UTF-16BE: D83D DC68 200D D83D DC69 200D D83D DC67 200D D83D DC66
Round trip by name: 👨‍👩‍👧‍👦
Round trip by name: 👨‍👩‍👧‍👦
Round trip by ordinal: 👨‍👩‍👧‍👦
Round trip by ordinal: 👨‍👩‍👧‍👦</pre>
</pre>


=={{header|Phix}}==
=={{header|Phix}}==