Print this page
7127  remove -Wno-missing-braces from Makefile.uts


  51  * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
  52  * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
  53  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  54  *
  55  * Except as contained in this notice, the name of a copyright holder
  56  * shall not be used in advertising or otherwise to promote the sale, use
  57  * or other dealings in this Software without prior written authorization
  58  * of the copyright holder.
  59  *
  60  * -----------------------------------------------------------------------------
  61  * All trademarks and registered trademarks mentioned herein are the property of
  62  * their respective owners.
  63  */
  64 /*
  65  * This file has been modified by Sun Microsystems, Inc.
  66  */
  67 
  68 #ifndef _SYS_KICONV_EMEA2_H
  69 #define _SYS_KICONV_EMEA2_H
  70 
  71 #pragma ident   "%Z%%M% %I%     %E% SMI"
  72 
  73 #ifdef __cplusplus
  74 extern "C" {
  75 #endif
  76 
  77 #include <sys/kiconv.h>
  78 
  79 #ifdef  _KERNEL
  80 
  81 /*
  82  * Mapping tables from CP720 to UTF-8.
  83  *
  84  * Indices are calculated by subtracting 0x80 from single byte character code
  85  * values.
  86  *
  87  * Each component has up to three UTF-8 character bytes; the first byte will
  88  * be used to figure out on how many bytes should be taken. If size figured
  89  * out has a value less than zero, that means that component isn't valid and
  90  * has no assigned character.
  91  *
  92  * We only provide mappings that will guarantee exact 1-to-1 roundtrip code
  93  * conversions for the maximum compatibility with previous CP720 conversions
  94  * in our storage products. (The same also goes to the other table at below.)
  95  */
  96 static const kiconv_to_utf8_tbl_comp_t cp720_to_u8_tbl[128] = {
  97         { 0xC2, 0x80, 0x00 },   /* 0x80 */
  98         { 0xC2, 0x81, 0x00 },   /* 0x81 */
  99         { 0xC3, 0xA9, 0x00 },   /* 0x82 */
 100         { 0xC3, 0xA2, 0x00 },   /* 0x83 */
 101         { 0xC2, 0x84, 0x00 },   /* 0x84 */
 102         { 0xC3, 0xA0, 0x00 },   /* 0x85 */
 103         { 0xC2, 0x86, 0x00 },   /* 0x86 */
 104         { 0xC3, 0xA7, 0x00 },   /* 0x87 */
 105         { 0xC3, 0xAA, 0x00 },   /* 0x88 */
 106         { 0xC3, 0xAB, 0x00 },   /* 0x89 */
 107         { 0xC3, 0xA8, 0x00 },   /* 0x8A */
 108         { 0xC3, 0xAF, 0x00 },   /* 0x8B */
 109         { 0xC3, 0xAE, 0x00 },   /* 0x8C */
 110         { 0xC2, 0x8D, 0x00 },   /* 0x8D */
 111         { 0xC2, 0x8E, 0x00 },   /* 0x8E */
 112         { 0xC2, 0x8F, 0x00 },   /* 0x8F */
 113         { 0xC2, 0x90, 0x00 },   /* 0x90 */
 114         { 0xD9, 0x91, 0x00 },   /* 0x91 */
 115         { 0xD9, 0x92, 0x00 },   /* 0x92 */
 116         { 0xC3, 0xB4, 0x00 },   /* 0x93 */
 117         { 0xC2, 0xA4, 0x00 },   /* 0x94 */
 118         { 0xD9, 0x80, 0x00 },   /* 0x95 */
 119         { 0xC3, 0xBB, 0x00 },   /* 0x96 */
 120         { 0xC3, 0xB9, 0x00 },   /* 0x97 */
 121         { 0xD8, 0xA1, 0x00 },   /* 0x98 */
 122         { 0xD8, 0xA2, 0x00 },   /* 0x99 */
 123         { 0xD8, 0xA3, 0x00 },   /* 0x9A */
 124         { 0xD8, 0xA4, 0x00 },   /* 0x9B */
 125         { 0xC2, 0xA3, 0x00 },   /* 0x9C */
 126         { 0xD8, 0xA5, 0x00 },   /* 0x9D */
 127         { 0xD8, 0xA6, 0x00 },   /* 0x9E */
 128         { 0xD8, 0xA7, 0x00 },   /* 0x9F */
 129         { 0xD8, 0xA8, 0x00 },   /* 0xA0 */
 130         { 0xD8, 0xA9, 0x00 },   /* 0xA1 */
 131         { 0xD8, 0xAA, 0x00 },   /* 0xA2 */
 132         { 0xD8, 0xAB, 0x00 },   /* 0xA3 */
 133         { 0xD8, 0xAC, 0x00 },   /* 0xA4 */
 134         { 0xD8, 0xAD, 0x00 },   /* 0xA5 */
 135         { 0xD8, 0xAE, 0x00 },   /* 0xA6 */
 136         { 0xD8, 0xAF, 0x00 },   /* 0xA7 */
 137         { 0xD8, 0xB0, 0x00 },   /* 0xA8 */
 138         { 0xD8, 0xB1, 0x00 },   /* 0xA9 */
 139         { 0xD8, 0xB2, 0x00 },   /* 0xAA */
 140         { 0xD8, 0xB3, 0x00 },   /* 0xAB */
 141         { 0xD8, 0xB4, 0x00 },   /* 0xAC */
 142         { 0xD8, 0xB5, 0x00 },   /* 0xAD */
 143         { 0xC2, 0xAB, 0x00 },   /* 0xAE */
 144         { 0xC2, 0xBB, 0x00 },   /* 0xAF */
 145         { 0xE2, 0x96, 0x91 },   /* 0xB0 */
 146         { 0xE2, 0x96, 0x92 },   /* 0xB1 */
 147         { 0xE2, 0x96, 0x93 },   /* 0xB2 */
 148         { 0xE2, 0x94, 0x82 },   /* 0xB3 */
 149         { 0xE2, 0x94, 0xA4 },   /* 0xB4 */
 150         { 0xE2, 0x95, 0xA1 },   /* 0xB5 */
 151         { 0xE2, 0x95, 0xA2 },   /* 0xB6 */
 152         { 0xE2, 0x95, 0x96 },   /* 0xB7 */
 153         { 0xE2, 0x95, 0x95 },   /* 0xB8 */
 154         { 0xE2, 0x95, 0xA3 },   /* 0xB9 */
 155         { 0xE2, 0x95, 0x91 },   /* 0xBA */
 156         { 0xE2, 0x95, 0x97 },   /* 0xBB */
 157         { 0xE2, 0x95, 0x9D },   /* 0xBC */
 158         { 0xE2, 0x95, 0x9C },   /* 0xBD */
 159         { 0xE2, 0x95, 0x9B },   /* 0xBE */
 160         { 0xE2, 0x94, 0x90 },   /* 0xBF */
 161         { 0xE2, 0x94, 0x94 },   /* 0xC0 */
 162         { 0xE2, 0x94, 0xB4 },   /* 0xC1 */
 163         { 0xE2, 0x94, 0xAC },   /* 0xC2 */
 164         { 0xE2, 0x94, 0x9C },   /* 0xC3 */
 165         { 0xE2, 0x94, 0x80 },   /* 0xC4 */
 166         { 0xE2, 0x94, 0xBC },   /* 0xC5 */
 167         { 0xE2, 0x95, 0x9E },   /* 0xC6 */
 168         { 0xE2, 0x95, 0x9F },   /* 0xC7 */
 169         { 0xE2, 0x95, 0x9A },   /* 0xC8 */
 170         { 0xE2, 0x95, 0x94 },   /* 0xC9 */
 171         { 0xE2, 0x95, 0xA9 },   /* 0xCA */
 172         { 0xE2, 0x95, 0xA6 },   /* 0xCB */
 173         { 0xE2, 0x95, 0xA0 },   /* 0xCC */
 174         { 0xE2, 0x95, 0x90 },   /* 0xCD */
 175         { 0xE2, 0x95, 0xAC },   /* 0xCE */
 176         { 0xE2, 0x95, 0xA7 },   /* 0xCF */
 177         { 0xE2, 0x95, 0xA8 },   /* 0xD0 */
 178         { 0xE2, 0x95, 0xA4 },   /* 0xD1 */
 179         { 0xE2, 0x95, 0xA5 },   /* 0xD2 */
 180         { 0xE2, 0x95, 0x99 },   /* 0xD3 */
 181         { 0xE2, 0x95, 0x98 },   /* 0xD4 */
 182         { 0xE2, 0x95, 0x92 },   /* 0xD5 */
 183         { 0xE2, 0x95, 0x93 },   /* 0xD6 */
 184         { 0xE2, 0x95, 0xAB },   /* 0xD7 */
 185         { 0xE2, 0x95, 0xAA },   /* 0xD8 */
 186         { 0xE2, 0x94, 0x98 },   /* 0xD9 */
 187         { 0xE2, 0x94, 0x8C },   /* 0xDA */
 188         { 0xE2, 0x96, 0x88 },   /* 0xDB */
 189         { 0xE2, 0x96, 0x84 },   /* 0xDC */
 190         { 0xE2, 0x96, 0x8C },   /* 0xDD */
 191         { 0xE2, 0x96, 0x90 },   /* 0xDE */
 192         { 0xE2, 0x96, 0x80 },   /* 0xDF */
 193         { 0xD8, 0xB6, 0x00 },   /* 0xE0 */
 194         { 0xD8, 0xB7, 0x00 },   /* 0xE1 */
 195         { 0xD8, 0xB8, 0x00 },   /* 0xE2 */
 196         { 0xD8, 0xB9, 0x00 },   /* 0xE3 */
 197         { 0xD8, 0xBA, 0x00 },   /* 0xE4 */
 198         { 0xD9, 0x81, 0x00 },   /* 0xE5 */
 199         { 0xC2, 0xB5, 0x00 },   /* 0xE6 */
 200         { 0xD9, 0x82, 0x00 },   /* 0xE7 */
 201         { 0xD9, 0x83, 0x00 },   /* 0xE8 */
 202         { 0xD9, 0x84, 0x00 },   /* 0xE9 */
 203         { 0xD9, 0x85, 0x00 },   /* 0xEA */
 204         { 0xD9, 0x86, 0x00 },   /* 0xEB */
 205         { 0xD9, 0x87, 0x00 },   /* 0xEC */
 206         { 0xD9, 0x88, 0x00 },   /* 0xED */
 207         { 0xD9, 0x89, 0x00 },   /* 0xEE */
 208         { 0xD9, 0x8A, 0x00 },   /* 0xEF */
 209         { 0xE2, 0x89, 0xA1 },   /* 0xF0 */
 210         { 0xD9, 0x8B, 0x00 },   /* 0xF1 */
 211         { 0xD9, 0x8C, 0x00 },   /* 0xF2 */
 212         { 0xD9, 0x8D, 0x00 },   /* 0xF3 */
 213         { 0xD9, 0x8E, 0x00 },   /* 0xF4 */
 214         { 0xD9, 0x8F, 0x00 },   /* 0xF5 */
 215         { 0xD9, 0x90, 0x00 },   /* 0xF6 */
 216         { 0xE2, 0x89, 0x88 },   /* 0xF7 */
 217         { 0xC2, 0xB0, 0x00 },   /* 0xF8 */
 218         { 0xE2, 0x88, 0x99 },   /* 0xF9 */
 219         { 0xC2, 0xB7, 0x00 },   /* 0xFA */
 220         { 0xE2, 0x88, 0x9A },   /* 0xFB */
 221         { 0xE2, 0x81, 0xBF },   /* 0xFC */
 222         { 0xC2, 0xB2, 0x00 },   /* 0xFD */
 223         { 0xE2, 0x96, 0xA0 },   /* 0xFE */
 224         { 0xC2, 0xA0, 0x00 },   /* 0xFF */
 225 };
 226 
 227 /*
 228  * Mapping tables from UTF-8 to CP720.
 229  *
 230  * The table is sorted with UTF-8 values to be used with binary search.
 231  * UTF-8 character byte values are saved at uint32_t:24 contiguously as
 232  * scalar values.
 233  */
 234 static const kiconv_to_sb_tbl_comp_t u8_to_cp720_tbl[128] = {
 235         { 0x00C280, 0x80 },
 236         { 0x00C281, 0x81 },
 237         { 0x00C284, 0x84 },
 238         { 0x00C286, 0x86 },
 239         { 0x00C28D, 0x8D },
 240         { 0x00C28E, 0x8E },
 241         { 0x00C28F, 0x8F },
 242         { 0x00C290, 0x90 },
 243         { 0x00C2A0, 0xFF },
 244         { 0x00C2A3, 0x9C },




  51  * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
  52  * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
  53  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  54  *
  55  * Except as contained in this notice, the name of a copyright holder
  56  * shall not be used in advertising or otherwise to promote the sale, use
  57  * or other dealings in this Software without prior written authorization
  58  * of the copyright holder.
  59  *
  60  * -----------------------------------------------------------------------------
  61  * All trademarks and registered trademarks mentioned herein are the property of
  62  * their respective owners.
  63  */
  64 /*
  65  * This file has been modified by Sun Microsystems, Inc.
  66  */
  67 
  68 #ifndef _SYS_KICONV_EMEA2_H
  69 #define _SYS_KICONV_EMEA2_H
  70 


  71 #ifdef __cplusplus
  72 extern "C" {
  73 #endif
  74 
  75 #include <sys/kiconv.h>
  76 
  77 #ifdef  _KERNEL
  78 
  79 /*
  80  * Mapping tables from CP720 to UTF-8.
  81  *
  82  * Indices are calculated by subtracting 0x80 from single byte character code
  83  * values.
  84  *
  85  * Each component has up to three UTF-8 character bytes; the first byte will
  86  * be used to figure out on how many bytes should be taken. If size figured
  87  * out has a value less than zero, that means that component isn't valid and
  88  * has no assigned character.
  89  *
  90  * We only provide mappings that will guarantee exact 1-to-1 roundtrip code
  91  * conversions for the maximum compatibility with previous CP720 conversions
  92  * in our storage products. (The same also goes to the other table at below.)
  93  */
  94 static const kiconv_to_utf8_tbl_comp_t cp720_to_u8_tbl[128] = {
  95         {{ 0xC2, 0x80, 0x00 }}, /* 0x80 */
  96         {{ 0xC2, 0x81, 0x00 }}, /* 0x81 */
  97         {{ 0xC3, 0xA9, 0x00 }}, /* 0x82 */
  98         {{ 0xC3, 0xA2, 0x00 }}, /* 0x83 */
  99         {{ 0xC2, 0x84, 0x00 }}, /* 0x84 */
 100         {{ 0xC3, 0xA0, 0x00 }}, /* 0x85 */
 101         {{ 0xC2, 0x86, 0x00 }}, /* 0x86 */
 102         {{ 0xC3, 0xA7, 0x00 }}, /* 0x87 */
 103         {{ 0xC3, 0xAA, 0x00 }}, /* 0x88 */
 104         {{ 0xC3, 0xAB, 0x00 }}, /* 0x89 */
 105         {{ 0xC3, 0xA8, 0x00 }}, /* 0x8A */
 106         {{ 0xC3, 0xAF, 0x00 }}, /* 0x8B */
 107         {{ 0xC3, 0xAE, 0x00 }}, /* 0x8C */
 108         {{ 0xC2, 0x8D, 0x00 }}, /* 0x8D */
 109         {{ 0xC2, 0x8E, 0x00 }}, /* 0x8E */
 110         {{ 0xC2, 0x8F, 0x00 }}, /* 0x8F */
 111         {{ 0xC2, 0x90, 0x00 }}, /* 0x90 */
 112         {{ 0xD9, 0x91, 0x00 }}, /* 0x91 */
 113         {{ 0xD9, 0x92, 0x00 }}, /* 0x92 */
 114         {{ 0xC3, 0xB4, 0x00 }}, /* 0x93 */
 115         {{ 0xC2, 0xA4, 0x00 }}, /* 0x94 */
 116         {{ 0xD9, 0x80, 0x00 }}, /* 0x95 */
 117         {{ 0xC3, 0xBB, 0x00 }}, /* 0x96 */
 118         {{ 0xC3, 0xB9, 0x00 }}, /* 0x97 */
 119         {{ 0xD8, 0xA1, 0x00 }}, /* 0x98 */
 120         {{ 0xD8, 0xA2, 0x00 }}, /* 0x99 */
 121         {{ 0xD8, 0xA3, 0x00 }}, /* 0x9A */
 122         {{ 0xD8, 0xA4, 0x00 }}, /* 0x9B */
 123         {{ 0xC2, 0xA3, 0x00 }}, /* 0x9C */
 124         {{ 0xD8, 0xA5, 0x00 }}, /* 0x9D */
 125         {{ 0xD8, 0xA6, 0x00 }}, /* 0x9E */
 126         {{ 0xD8, 0xA7, 0x00 }}, /* 0x9F */
 127         {{ 0xD8, 0xA8, 0x00 }}, /* 0xA0 */
 128         {{ 0xD8, 0xA9, 0x00 }}, /* 0xA1 */
 129         {{ 0xD8, 0xAA, 0x00 }}, /* 0xA2 */
 130         {{ 0xD8, 0xAB, 0x00 }}, /* 0xA3 */
 131         {{ 0xD8, 0xAC, 0x00 }}, /* 0xA4 */
 132         {{ 0xD8, 0xAD, 0x00 }}, /* 0xA5 */
 133         {{ 0xD8, 0xAE, 0x00 }}, /* 0xA6 */
 134         {{ 0xD8, 0xAF, 0x00 }}, /* 0xA7 */
 135         {{ 0xD8, 0xB0, 0x00 }}, /* 0xA8 */
 136         {{ 0xD8, 0xB1, 0x00 }}, /* 0xA9 */
 137         {{ 0xD8, 0xB2, 0x00 }}, /* 0xAA */
 138         {{ 0xD8, 0xB3, 0x00 }}, /* 0xAB */
 139         {{ 0xD8, 0xB4, 0x00 }}, /* 0xAC */
 140         {{ 0xD8, 0xB5, 0x00 }}, /* 0xAD */
 141         {{ 0xC2, 0xAB, 0x00 }}, /* 0xAE */
 142         {{ 0xC2, 0xBB, 0x00 }}, /* 0xAF */
 143         {{ 0xE2, 0x96, 0x91 }}, /* 0xB0 */
 144         {{ 0xE2, 0x96, 0x92 }}, /* 0xB1 */
 145         {{ 0xE2, 0x96, 0x93 }}, /* 0xB2 */
 146         {{ 0xE2, 0x94, 0x82 }}, /* 0xB3 */
 147         {{ 0xE2, 0x94, 0xA4 }}, /* 0xB4 */
 148         {{ 0xE2, 0x95, 0xA1 }}, /* 0xB5 */
 149         {{ 0xE2, 0x95, 0xA2 }}, /* 0xB6 */
 150         {{ 0xE2, 0x95, 0x96 }}, /* 0xB7 */
 151         {{ 0xE2, 0x95, 0x95 }}, /* 0xB8 */
 152         {{ 0xE2, 0x95, 0xA3 }}, /* 0xB9 */
 153         {{ 0xE2, 0x95, 0x91 }}, /* 0xBA */
 154         {{ 0xE2, 0x95, 0x97 }}, /* 0xBB */
 155         {{ 0xE2, 0x95, 0x9D }}, /* 0xBC */
 156         {{ 0xE2, 0x95, 0x9C }}, /* 0xBD */
 157         {{ 0xE2, 0x95, 0x9B }}, /* 0xBE */
 158         {{ 0xE2, 0x94, 0x90 }}, /* 0xBF */
 159         {{ 0xE2, 0x94, 0x94 }}, /* 0xC0 */
 160         {{ 0xE2, 0x94, 0xB4 }}, /* 0xC1 */
 161         {{ 0xE2, 0x94, 0xAC }}, /* 0xC2 */
 162         {{ 0xE2, 0x94, 0x9C }}, /* 0xC3 */
 163         {{ 0xE2, 0x94, 0x80 }}, /* 0xC4 */
 164         {{ 0xE2, 0x94, 0xBC }}, /* 0xC5 */
 165         {{ 0xE2, 0x95, 0x9E }}, /* 0xC6 */
 166         {{ 0xE2, 0x95, 0x9F }}, /* 0xC7 */
 167         {{ 0xE2, 0x95, 0x9A }}, /* 0xC8 */
 168         {{ 0xE2, 0x95, 0x94 }}, /* 0xC9 */
 169         {{ 0xE2, 0x95, 0xA9 }}, /* 0xCA */
 170         {{ 0xE2, 0x95, 0xA6 }}, /* 0xCB */
 171         {{ 0xE2, 0x95, 0xA0 }}, /* 0xCC */
 172         {{ 0xE2, 0x95, 0x90 }}, /* 0xCD */
 173         {{ 0xE2, 0x95, 0xAC }}, /* 0xCE */
 174         {{ 0xE2, 0x95, 0xA7 }}, /* 0xCF */
 175         {{ 0xE2, 0x95, 0xA8 }}, /* 0xD0 */
 176         {{ 0xE2, 0x95, 0xA4 }}, /* 0xD1 */
 177         {{ 0xE2, 0x95, 0xA5 }}, /* 0xD2 */
 178         {{ 0xE2, 0x95, 0x99 }}, /* 0xD3 */
 179         {{ 0xE2, 0x95, 0x98 }}, /* 0xD4 */
 180         {{ 0xE2, 0x95, 0x92 }}, /* 0xD5 */
 181         {{ 0xE2, 0x95, 0x93 }}, /* 0xD6 */
 182         {{ 0xE2, 0x95, 0xAB }}, /* 0xD7 */
 183         {{ 0xE2, 0x95, 0xAA }}, /* 0xD8 */
 184         {{ 0xE2, 0x94, 0x98 }}, /* 0xD9 */
 185         {{ 0xE2, 0x94, 0x8C }}, /* 0xDA */
 186         {{ 0xE2, 0x96, 0x88 }}, /* 0xDB */
 187         {{ 0xE2, 0x96, 0x84 }}, /* 0xDC */
 188         {{ 0xE2, 0x96, 0x8C }}, /* 0xDD */
 189         {{ 0xE2, 0x96, 0x90 }}, /* 0xDE */
 190         {{ 0xE2, 0x96, 0x80 }}, /* 0xDF */
 191         {{ 0xD8, 0xB6, 0x00 }}, /* 0xE0 */
 192         {{ 0xD8, 0xB7, 0x00 }}, /* 0xE1 */
 193         {{ 0xD8, 0xB8, 0x00 }}, /* 0xE2 */
 194         {{ 0xD8, 0xB9, 0x00 }}, /* 0xE3 */
 195         {{ 0xD8, 0xBA, 0x00 }}, /* 0xE4 */
 196         {{ 0xD9, 0x81, 0x00 }}, /* 0xE5 */
 197         {{ 0xC2, 0xB5, 0x00 }}, /* 0xE6 */
 198         {{ 0xD9, 0x82, 0x00 }}, /* 0xE7 */
 199         {{ 0xD9, 0x83, 0x00 }}, /* 0xE8 */
 200         {{ 0xD9, 0x84, 0x00 }}, /* 0xE9 */
 201         {{ 0xD9, 0x85, 0x00 }}, /* 0xEA */
 202         {{ 0xD9, 0x86, 0x00 }}, /* 0xEB */
 203         {{ 0xD9, 0x87, 0x00 }}, /* 0xEC */
 204         {{ 0xD9, 0x88, 0x00 }}, /* 0xED */
 205         {{ 0xD9, 0x89, 0x00 }}, /* 0xEE */
 206         {{ 0xD9, 0x8A, 0x00 }}, /* 0xEF */
 207         {{ 0xE2, 0x89, 0xA1 }}, /* 0xF0 */
 208         {{ 0xD9, 0x8B, 0x00 }}, /* 0xF1 */
 209         {{ 0xD9, 0x8C, 0x00 }}, /* 0xF2 */
 210         {{ 0xD9, 0x8D, 0x00 }}, /* 0xF3 */
 211         {{ 0xD9, 0x8E, 0x00 }}, /* 0xF4 */
 212         {{ 0xD9, 0x8F, 0x00 }}, /* 0xF5 */
 213         {{ 0xD9, 0x90, 0x00 }}, /* 0xF6 */
 214         {{ 0xE2, 0x89, 0x88 }}, /* 0xF7 */
 215         {{ 0xC2, 0xB0, 0x00 }}, /* 0xF8 */
 216         {{ 0xE2, 0x88, 0x99 }}, /* 0xF9 */
 217         {{ 0xC2, 0xB7, 0x00 }}, /* 0xFA */
 218         {{ 0xE2, 0x88, 0x9A }}, /* 0xFB */
 219         {{ 0xE2, 0x81, 0xBF }}, /* 0xFC */
 220         {{ 0xC2, 0xB2, 0x00 }}, /* 0xFD */
 221         {{ 0xE2, 0x96, 0xA0 }}, /* 0xFE */
 222         {{ 0xC2, 0xA0, 0x00 }}  /* 0xFF */
 223 };
 224 
 225 /*
 226  * Mapping tables from UTF-8 to CP720.
 227  *
 228  * The table is sorted with UTF-8 values to be used with binary search.
 229  * UTF-8 character byte values are saved at uint32_t:24 contiguously as
 230  * scalar values.
 231  */
 232 static const kiconv_to_sb_tbl_comp_t u8_to_cp720_tbl[128] = {
 233         { 0x00C280, 0x80 },
 234         { 0x00C281, 0x81 },
 235         { 0x00C284, 0x84 },
 236         { 0x00C286, 0x86 },
 237         { 0x00C28D, 0x8D },
 238         { 0x00C28E, 0x8E },
 239         { 0x00C28F, 0x8F },
 240         { 0x00C290, 0x90 },
 241         { 0x00C2A0, 0xFF },
 242         { 0x00C2A3, 0x9C },