- /*
- * For character sets that include the copyright symbol,
- * the first 5 characters suffices to distinguish amongst
- * all the different possible encodings.
- *
- * The final byte of each entry indicates the corresponding
- * offset into the codes array, except for CP112x and ISO-8859-x
- * which use the special values 0 and 1, respectively (handled
- * below).
- */
- static const char t1[][PREFIXLEN+1] = {
+ static const struct copysym_data data = {
+ /*
+ * For character sets that include the copyright symbol,
+ * the first 5 characters suffices to distinguish amongst
+ * all the different possible encodings.
+ *
+ * The final byte of each entry indicates the corresponding
+ * offset into the codes array, except for CP112x and ISO-8859
+ * which use the values 0 and 1, respectively (handled below).
+ */
+ .tab =
+ {