summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-11-21 17:09:07 -0700
committerKarl Williamson <public@khwilliamson.com>2011-11-21 17:20:24 -0700
commit5eafe1896239930946c076faeef54a6519c934d7 (patch)
treea8a2969d4d8d4ff4c4f015b7ec0dd5399f2e72f8 /utf8.c
parente032854818ad111e923e4cb101b55494a5bcff56 (diff)
downloadperl-5eafe1896239930946c076faeef54a6519c934d7.tar.gz
utf8.c: typos in pod
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index 150af5ce1c..b71ae48866 100644
--- a/utf8.c
+++ b/utf8.c
@@ -495,7 +495,7 @@ C<retlen> to C<-1> and return zero.
Certain code points are considered problematic. These are Unicode surrogates,
Unicode non-characters, and code points above the Unicode maximum of 0x10FFF.
By default these are considered regular code points, but certain situations
-warrant special handling for them. if C<flags> contains
+warrant special handling for them. If C<flags> contains
UTF8_DISALLOW_ILLEGAL_INTERCHANGE, all three classes are treated as
malformations and handled as such. The flags UTF8_DISALLOW_SURROGATE,
UTF8_DISALLOW_NONCHAR, and UTF8_DISALLOW_SUPER (meaning above the legal Unicode
@@ -513,7 +513,7 @@ Very large code points (above 0x7FFF_FFFF) are considered more problematic than
the others that are above the Unicode legal maximum. There are several
reasons, one of which is that the original UTF-8 specification never went above
this number (the current 0x10FFF limit was imposed later). The UTF-8 encoding
-on ASCII platforms for these large code point begins with a byte containing
+on ASCII platforms for these large code points begins with a byte containing
0xFE or 0xFF. The UTF8_DISALLOW_FE_FF flag will cause them to be treated as
malformations, while allowing smaller above-Unicode code points. (Of course
UTF8_DISALLOW_SUPER will treat all above-Unicode code points, including these,