summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-12-16 14:30:36 -0700
committerKarl Williamson <khw@cpan.org>2021-12-28 07:58:11 -0700
commit3c2b2fcba1af380e364ca5be1cd42495caf25e89 (patch)
tree0c0c5e01175c78f8ec62c8fda0e3e87fae3311d5 /pod/perlfunc.pod
parent2c9cc169c7a3a605ffcc50c843807bbb3f7e3a75 (diff)
downloadperl-3c2b2fcba1af380e364ca5be1cd42495caf25e89.tar.gz
Change pack U behavior for EBCDIC
This effectively reverts 3ece276e6c0. It turns out this was a bad idea to make U mean the non-native official Unicode code points. It may seem to make sense to do so, but broke multiple CPAN modules which were using U the previous way. This commit has no effect on ASCII-platform functioning.
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index fbe465bbf5..762f12cb72 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -5247,7 +5247,10 @@ of values, as follows:
u A uuencoded string.
U A Unicode character number. Encodes to a character in char-
acter mode and UTF-8 (or UTF-EBCDIC in EBCDIC platforms) in
- byte mode.
+ byte mode. Also on EBCDIC platforms, the character number will
+ be the native EBCDIC value for character numbers below 256.
+ This allows most programs using this feature to not have to
+ care which type of platform they are running on.
w A BER compressed integer (not an ASN.1 BER, see perlpacktut
for details). Its bytes represent an unsigned integer in