Skip to content

Commit b15f493

Browse files
committed
Fix typos, some markup fancies
1 parent 359f80c commit b15f493

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

unicode-introduction.pod

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Very simply put, main part of the Unicode standart is just a giant table,
3838
which assigns a number to every L<glyph|https://en.wikipedia.org/wiki/Glyph>,
3939
would that be a letter, a punctuation, a diacritic and so on. Those numbers
4040
are called I<code points> and normally a Unicode code point is referred to by
41-
writing I<U+> followed by its in number hexadecimal form. For example, B<U+0050>
41+
writing I<U+> followed by its number in hexadecimal form. For example, B<U+0050>
4242
refers to B<LATIN CAPITAL LETTER P>, and B<U+00A9> is the B<COPYRIGHT SIGN> etc.
4343

4444
But this giant table of code points itself yet has nothing to do with
@@ -70,9 +70,9 @@ right now, instead we'll show you possible solution to avoid this warning:
7070
binmode FILEHANDLE, ":encoding(UTF-8)";
7171

7272
This command should be put before your printing statement and it will specify
73-
the encoding layer for desired FILEHANDLE. So, to be able to print to
74-
console FILEHANDLE should be STDOUT, which is the filehandle used by Perl's
75-
C<print> and C<say> functions by default.
73+
the encoding layer for desired C<FILEHANDLE>. So, to be able to print to
74+
console C<FILEHANDLE> should be C<STDOUT>, which is the filehandle used by
75+
Perl's C<print> and C<say> functions by default.
7676

7777
=head2 Printing symbols
7878

@@ -141,7 +141,7 @@ B<Hint>: use Unicode B<NOT SIGN>.
141141
=head2 Unicode in your source
142142

143143
But you don't have to type code points or even their names everytime. You
144-
can use any Unicode symbol in source code, for example in you string
144+
can use any Unicode symbol in source code, for example in your string
145145
literals. All you have to do, is to use C<utf8> pragma and then to save your
146146
script as UTF-8 text file. Watch this:
147147

@@ -212,7 +212,7 @@ Decode you input data using L<Encode> module.
212212

213213
=item *
214214

215-
Do some some stuff with you I<textual> data.
215+
Do some some stuff with your I<textual> data.
216216

217217
=item *
218218

@@ -242,7 +242,7 @@ This is obviously true for single-byte encodings, such as I<latin1>.
242242

243243
say length encode('latin1', '$'); # says 1
244244

245-
But since Unicode now defines more then 1 million code points (1,114,112 to
245+
But since Unicode now defines more then B<1 million> code points (1,114,112 to
246246
be precise) it's absolutely impossible to use one byte (which can take only
247247
256 combinations of bits) to hold them all. That's where
248248
L<UTF encodings|Encode::Unicode> step in.

0 commit comments

Comments
 (0)