summaryrefslogtreecommitdiff
path: root/pod/perlunicode.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-11-28 11:49:43 -0700
committerKarl Williamson <khw@cpan.org>2015-11-28 17:19:27 -0700
commit760c7c2f746ce3f3c3356b0a3efb017b6d0cb5b0 (patch)
treeae46772546d1e407ac82e7d9fdb94ff71e842519 /pod/perlunicode.pod
parentab8e6d41354e33543e31744c782a29d8d9568dce (diff)
downloadperl-760c7c2f746ce3f3c3356b0a3efb017b6d0cb5b0.tar.gz
Deprecate Unicode code points above IV_MAX
See https://rt.perl.org/Ticket/Display.html?id=115166
Diffstat (limited to 'pod/perlunicode.pod')
-rw-r--r--pod/perlunicode.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod
index aa0fdca2e4..a652d8d796 100644
--- a/pod/perlunicode.pod
+++ b/pod/perlunicode.pod
@@ -1289,7 +1289,10 @@ encoding of numbers up to C<0x7FFF_FFFF>. Perl continues to allow those,
and has extended that up to 13 bytes to encode code points up to what
can fit in a 64-bit word. However, Perl will warn if you output any of
these as being non-portable; and under strict UTF-8 input protocols,
-they are forbidden.
+they are forbidden. In addition, it is deprecated to use a code point
+larger than what a signed integer variable on your system can hold. On
+32-bit ASCII systems, this means C<0x7FFF_FFFF> is the legal maximum
+going forward (much higher on 64-bit systems).
=item *