diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-03-29 21:59:05 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-03-29 22:08:48 -0600 |
commit | b29c72cbfa23029a938e942338d076a7c3a4a49b (patch) | |
tree | 1c985b4dd7c5f33a9bc0567ec005cb6c2d22e209 | |
parent | 52d6192b08191805d2a550a809b2f64654316870 (diff) | |
download | perl-b29c72cbfa23029a938e942338d076a7c3a4a49b.tar.gz |
perlfunc: Note utf8 discrepancy in quotemeta
-rw-r--r-- | pod/perlfunc.pod | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 0d9a65cbec..c2a68a5951 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -4552,6 +4552,11 @@ Or: Will both leave the sentence as is. Normally, when accepting string input from the user, quotemeta() or C<\Q> must be used. +In Perl 5.14, all characters whose code points are above 127 are not +quoted in UTF-8 encoded strings, but all are quoted in UTF-8 strings. +It is planned to change this behavior in 5.16, but the exact rules +haven't been determined yet. + =item rand EXPR X<rand> X<random> |