diff options
author | Karl Williamson <khw@khw-desktop.(none)> | 2009-11-12 22:40:21 -0700 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2009-11-14 23:34:55 +0100 |
commit | 00f254e235ff10d6223aa9a402ad5b7a85689829 (patch) | |
tree | ecbf0c57e651245f5632419e0b86788eb252dac1 /utf8.h | |
parent | a1248f17ffcfa8fe0e91df962317b46b81fc0ce5 (diff) | |
download | perl-00f254e235ff10d6223aa9a402ad5b7a85689829.tar.gz |
add code for Unicode semantics for non-utf8 latin1 chars
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -207,6 +207,7 @@ encoded character. #define IN_BYTES (CopHINTS_get(PL_curcop) & HINT_BYTES) #define DO_UTF8(sv) (SvUTF8(sv) && !IN_BYTES) +#define IN_UNI_8_BIT (CopHINTS_get(PL_curcop) & HINT_UNI_8_BIT && ! IN_LOCALE_RUNTIME && ! IN_BYTES) #define UTF8_ALLOW_EMPTY 0x0001 #define UTF8_ALLOW_CONTINUATION 0x0002 |