diff options
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 34be2580c0..c10d56c9b1 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -3998,6 +3998,14 @@ C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.6.1 used to allow this syntax, but shouldn't have. It is now deprecated, and will be removed in a future version. +=item UTF-16 surrogate %s + +(F) You tried to generate half of an UTF-16 surrogate by requesting +a Unicode character between the code points 0xD800 and 0xDFFF (inclusive). +That range is reserved exclusively for the use of UTF-16 encoding +(by having two 16-bit UCS-2 characters); but Perl encodes its characters +in UTF-8, so what you got is a very illegal character. + =item Value of %s can be "0"; test with defined() (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |