summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@khw-desktop.(none)>2009-11-12 22:40:21 -0700
committerRafael Garcia-Suarez <rgs@consttype.org>2009-11-14 23:34:55 +0100
commit00f254e235ff10d6223aa9a402ad5b7a85689829 (patch)
treeecbf0c57e651245f5632419e0b86788eb252dac1 /utf8.h
parenta1248f17ffcfa8fe0e91df962317b46b81fc0ce5 (diff)
downloadperl-00f254e235ff10d6223aa9a402ad5b7a85689829.tar.gz
add code for Unicode semantics for non-utf8 latin1 chars
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index 1c8e06b59e..7c205d1523 100644
--- a/utf8.h
+++ b/utf8.h
@@ -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