diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-11-15 10:18:58 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-11-22 13:32:54 -0800 |
commit | 2950f2a73354102f32ec0556ad8d0ab46743b17a (patch) | |
tree | deea42e6aec2d8140668c8c7ead38abe662de64b /pp.c | |
parent | 9df205e24a206d67715d225f771fd6a02b9681bd (diff) | |
download | perl-2950f2a73354102f32ec0556ad8d0ab46743b17a.tar.gz |
utf8.h: Add macro TWO_BYTE_UTF8_TO_UNI()
The code to do this isn't obvious, as it was wrong in 5 different places
in two different files (forgetting one or both of the required
conversions to UTF (which is a no-op except on EBCDIC machines, or it
would have been detected sooner.)
Some of that code depended on left shifting being truncated in a U8.
This adds UTF_START_MASK so it can work in a larger width variable.
Diffstat (limited to 'pp.c')
0 files changed, 0 insertions, 0 deletions