utf8.h: Simplify UTF8_EIGHT_BIT_foo on EBCDIC
authorKarl Williamson <public@khwilliamson.com>
Fri, 1 Mar 2013 15:28:52 +0000 (08:28 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 29 Aug 2013 15:55:59 +0000 (09:55 -0600)
commitfca3b69698c6f943aa6cd3c097b07f3eafa8113d
tree4775f46d08f95a392d2f1a0ba1e4dd3874a7822e
parentd95f8b6ab696f65df80deff0ac32dd5be515428b
utf8.h: Simplify UTF8_EIGHT_BIT_foo on EBCDIC

These macros were previously defined in terms of UTF8_TWO_BYTE_HI and
UTF8_TWO_BYTE_LO.  But the EIGHT_BIT versions can use the less general
and simpler NATIVE_TO_LATIN1 instead of NATIVE_TO_UNI because the input
domain is restricted in the EIGHT_BIT.  Note that on ASCII platforms,
these both expand to the same thing, so the difference matters only on
EBCDIC.
utf8.h