Skip to content

Commit

Permalink
perlop: Don't use bitwise string ops on UTF-8
Browse files Browse the repository at this point in the history
The behavior is likely to change
  • Loading branch information
khwilliamson committed May 7, 2015
1 parent 9f1b817 commit 737f753
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pod/perlop.pod
Expand Up @@ -3243,6 +3243,10 @@ strings:
The assignment variants of these operators (C<&= |= ^= &.= |.= ^.=>)
behave likewise under the feature.

The behavior of these operators is problematic (and subject to change)
if either or both of the strings are encoded in UTF-8 (see
L<perlunicode/Byte and Character Semantics>.

See L<perlfunc/vec> for information on how to manipulate individual bits
in a bit vector.

Expand Down

0 comments on commit 737f753

Please sign in to comment.