Skip to content

Commit d42a870

Browse files
authored
Fix typo and clarify a sentence
1 parent 73ebb80 commit d42a870

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/Language/unicode.pod6

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ X<|Normalization>
1717
=head2 Normalization
1818
1919
Perl 6 applies normalization by default to all input and output except for file
20-
names which are stored as L<C<UTF8-C8>|#UTF8-C8>; graphemes, which are
20+
names, which are read and written as L<C<UTF8-C8>|#UTF8-C8>; graphemes, which are
2121
user-visible forms of the characters, will use a normalized representation. What
2222
does this mean? For example, the grapheme C<á> can be represented in two ways,
2323
either using one codepoint:
@@ -86,9 +86,10 @@ encoding:
8686
.close;
8787
}
8888
89-
say slurp($test-file, enc => 'utf8-c8'); # OUTPUT: «(65 250 66 251 252 67 253)»
89+
say slurp($test-file, enc => 'utf8-c8');
90+
# OUTPUT: «(65 250 66 251 252 67 253)»
9091
91-
Reading with this type of encoding and encoding them back to UTF8-C8 will give you back the original bytes; this would not have been possible with the default UTF8-C8.
92+
Reading with this type of encoding and encoding them back to UTF8-C8 will give you back the original bytes; this would not have been possible with the default UTF-8 encoding.
9293
9394
Please note that this encoding so far is not supported in the JVM implementation of Rakudo.
9495

0 commit comments

Comments
 (0)