Character codes: Difference between revisions
m
→{{header|Raku}}: twiddles
m (→{{header|J}}) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: twiddles) |
||
Line 1,948:
'Unicode script',
'Unicode block',
'Added in Unicode version',
'Ordinal(s)',
'Hex ordinal(s)',
Line 1,955 ⟶ 1,956:
'Round trip by name',
'Round trip by ordinal'
]».fmt('%
Z
[ $_,
Line 1,962 ⟶ 1,963:
.uniprops('Script').join(', '),
.uniprops('Block').join(', '),
.uniprops('Age').join(', '),
.ords,
.ords.fmt('0x%X'),
Line 1,973 ⟶ 1,975:
}</syntaxhighlight>
{{out}}
<pre> Character: A
Character name: LATIN CAPITAL LETTER A
Unicode property: Lu
Unicode script: Latin
Unicode block: Basic Latin
Added in Unicode version: 1.1
Ordinal(s): 65▼
Hex
UTF-
UTF-
Round trip by name: A▼
Round trip by
Character: Α
Character name: GREEK CAPITAL LETTER ALPHA
Unicode property: Lu
Unicode script: Greek
Unicode block: Greek and Coptic
Added in Unicode version: 1.1
Ordinal(s): 913▼
Hex
UTF-
UTF-
Round trip by name: Α▼
Round trip by
Character: А
Character name: CYRILLIC CAPITAL LETTER A
Unicode property: Lu
Unicode script: Cyrillic
Unicode block: Cyrillic
Added in Unicode version: 1.1
Ordinal(s): 1040▼
Hex
UTF-
UTF-
Round trip by name: А▼
Round trip by
Character: 𪚥
Character name: CJK UNIFIED IDEOGRAPH-2A6A5
Unicode property: Lo
Unicode script: Han
Unicode block: CJK Unified Ideographs Extension B
Added in Unicode version: 3.1
Hex
UTF-
UTF-
UTF-16BE: D869 DEA5
Round trip by name: 𪚥▼
Round trip by
Character: 🇺🇸
Character name: REGIONAL INDICATOR SYMBOL LETTER U, REGIONAL INDICATOR SYMBOL LETTER S
Unicode property: So, So
Unicode script: Common, Common
Unicode block: Enclosed Alphanumeric Supplement, Enclosed Alphanumeric Supplement
Added in Unicode version: 6.0, 6.0
Hex
UTF-
UTF-
UTF-16BE: D83C DDFA D83C DDF8
Round trip by name: 🇺🇸▼
Round trip by
Character: 👨👩👧👦▼
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 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▼
Added in Unicode version: 6.0, 1.1, 6.0, 1.1, 6.0, 1.1, 6.0
Ordinal(s): 128104 8205 128105 8205 128103 8205 128102▼
Hex ordinal(s): 0x1F468 0x200D 0x1F469 0x200D 0x1F467 0x200D 0x1F466▼
UTF-8: F0 9F 91 A8 E2 80 8D F0 9F 91 A9 E2 80 8D F0 9F 91 A7 E2 80 8D F0 9F 91 A6▼
UTF-16LE: 3DD8 68DC 0D20 3DD8 69DC 0D20 3DD8 67DC 0D20 3DD8 66DC▼
UTF-16BE: D83D DC68 200D D83D DC69 200D D83D DC67 200D D83D DC66▼
Round trip by name: 👨👩👧👦▼
Round trip by ordinal: 👨👩👧👦</pre>▼
▲ Character: 👨👩👧👦
▲ 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 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
▲ Hex ordinal(s): 0x1F468 0x200D 0x1F469 0x200D 0x1F467 0x200D 0x1F466
▲ UTF-8: F0 9F 91 A8 E2 80 8D F0 9F 91 A9 E2 80 8D F0 9F 91 A7 E2 80 8D F0 9F 91 A6
▲ UTF-16LE: 3DD8 68DC 0D20 3DD8 69DC 0D20 3DD8 67DC 0D20 3DD8 66DC
▲ UTF-16BE: D83D DC68 200D D83D DC69 200D D83D DC67 200D D83D DC66
▲ Round trip by name: 👨👩👧👦
▲Round trip by ordinal: 👨👩👧👦</pre>
=={{header|RapidQ}}==
<syntaxhighlight lang="vb">
|