summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-02-18 08:39:36 -0700
committerKarl Williamson <public@khwilliamson.com>2011-02-19 11:47:41 -0700
commit5e64d0fac478f5183b989c765540690c2379b10d (patch)
tree3abf27c0421a2c3a34d27acb2b6af2502af7b473 /utf8.h
parent57014d776818473b5b87e776a8050a60b7547d98 (diff)
downloadperl-5e64d0fac478f5183b989c765540690c2379b10d.tar.gz
foldEQ_utf8(): Add locale handling
A new flag is now passable to this function to indicate to use locale rules for code points below 256. Unicode rules are still used for above 255. Folds which cross that boundary are disallowed.
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 e0dee68999..da714391a5 100644
--- a/utf8.h
+++ b/utf8.h
@@ -23,6 +23,7 @@
#define foldEQ_utf8(s1, pe1, l1, u1, s2, pe2, l2, u2) \
foldEQ_utf8_flags(s1, pe1, l1, u1, s2, pe2, l2, u2, 0)
#define FOLDEQ_UTF8_NOMIX_ASCII (1 << 0)
+#define FOLDEQ_UTF8_LOCALE (1 << 1)
/*
=for apidoc ibcmp_utf8