Skip to content

Commit 9578de5

Browse files
committed
Unicode file, add some links, fit into less columns
1 parent b806f3e commit 9578de5

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

doc/Language/unicode.pod6

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,30 @@
44
55
=SUBTITLE Unicode Support in Perl 6
66
7-
Perl 6 has a high level of support of Unicode. It supports extended grapheme
8-
clusters for breaking up words.
7+
Perl 6 has a high level of support of Unicode.
98
109
You can access Unicode codepoints by name:
1110
Rakudo supports all Unicode 9.0 names.
1211
1312
say "\c[PENGUIN]" # 🐧
1413
15-
By name alias:
14+
By name alias. For full list see L<here|http://www.unicode.org/Public/UCD/latest/ucd/NameAliases.txt>.
1615
1716
say "\c[ALERT] # Not visible (U+0007 control code (also accessible as \a))
1817
say "\c[BELL] # 🔔 (U+1F514 BELL)
1918
20-
You can also use any of the L<Named Sequences|http://www.unicode.org/Public/UCD/latest/ucd/NamedSequences.txt>, these are not single codepoints, but sequences of them.
19+
You can also use any of the L<Named Sequences|http://www.unicode.org/Public/UCD/latest/ucd/NamedSequences.txt>,
20+
these are not single codepoints, but sequences of them.
2121
(In Rakudo blead but not in the latest release of the compiler yet).
2222
2323
say "\c[LATIN CAPITAL LETTER E WITH VERTICAL LINE BELOW AND ACUTE] # É̩
2424
say "\c[LATIN CAPITAL LETTER E WITH VERTICAL LINE BELOW AND ACUTE]".ords # (201 809)
2525
26-
You can also use L<Emoji ZWJ Sequences|http://www.unicode.org/Public/emoji/4.0/emoji-zwj-sequences.txt> and L<Emoji Sequences|http://www.unicode.org/Public/emoji/4.0/emoji-sequences.txt>
26+
You can also use
27+
L<Emoji ZWJ Sequences|http://www.unicode.org/Public/emoji/4.0/emoji-zwj-sequences.txt>
28+
and L<Emoji Sequences|http://www.unicode.org/Public/emoji/4.0/emoji-sequences.txt>
2729
28-
Additionally, in Rakudo blead and in the next monthly release of Perl 6 these names are all now case-insensitive:
30+
Additionally, in Rakudo blead and in the next monthly release of Perl 6 all
31+
Unicode codepoint names/named seq/emoji sequences are now case-insensitive:
2932
3033
say "\c[boy]" # 👦 (U+1F466)

0 commit comments

Comments
 (0)