diff options
author | Karl Williamson <khw@khw-desktop.(none)> | 2009-11-20 11:02:01 -0700 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2009-11-23 14:17:36 +0100 |
commit | 61fc5122f0d8a509834282b8ecb3252d2e4c9f5d (patch) | |
tree | 5208ad914b6cd8f923c81ff9517c4b8ca5fcafb3 /utf8.h | |
parent | 7f40cf6b25ea33d8a2dbbe1b42267811532b235d (diff) | |
download | perl-61fc5122f0d8a509834282b8ecb3252d2e4c9f5d.tar.gz |
Make unicode semantics the default
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -207,7 +207,8 @@ 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 IN_UNI_8_BIT ( (! (CopHINTS_get(PL_curcop) & HINT_NOT_UNI_8_BIT)) \ + && ! IN_LOCALE_RUNTIME && ! IN_BYTES) #define UTF8_ALLOW_EMPTY 0x0001 #define UTF8_ALLOW_CONTINUATION 0x0002 |