summaryrefslogtreecommitdiff
path: root/utfebcdic.h
diff options
context:
space:
mode:
Diffstat (limited to 'utfebcdic.h')
-rw-r--r--utfebcdic.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/utfebcdic.h b/utfebcdic.h
index 8fe4bdc143..751fa0a9bd 100644
--- a/utfebcdic.h
+++ b/utfebcdic.h
@@ -224,12 +224,6 @@ explicitly forbidden, and the shortest possible encoding should always be used
#define UTF8_IS_DOWNGRADEABLE_START(c) _generic_isCC(c, \
_CC_UTF8_IS_DOWNGRADEABLE_START)
-/* Equivalent to (UTF8_IS_START(c) && ! UTF8_IS_DOWNGRADEABLE_START(c))
- * Makes sure that the START bit is set and the DOWNGRADEABLE bit isn't */
-#define UTF8_IS_ABOVE_LATIN1(c) cBOOL(FITS_IN_8_BITS(c) \
- && ((PL_charclass[(U8) (c)] & ( _CC_mask(_CC_UTF8_IS_START) \
- |_CC_mask(_CC_UTF8_IS_DOWNGRADEABLE_START))) \
- == _CC_mask(_CC_UTF8_IS_START)))
#define isUTF8_POSSIBLY_PROBLEMATIC(c) \
_generic_isCC(c, _CC_UTF8_START_BYTE_IS_FOR_AT_LEAST_SURROGATE)