From 799a67bb2f9bf4f6aa771de9df61e329185c5b63 Mon Sep 17 00:00:00 2001
From: Simon Middleton <smiddle@gitlab.riscosopen.org>
Date: Wed, 14 Jan 1998 11:22:55 +0000
Subject: [PATCH] Corrected Big5 definition number in charsets.h.

Fixed Big5 encoding_write (checked for !cc rather than cc).
Removed unictype.c which is built from mkunictype.

Version 0.13. Tagged as 'Unicode-0_13'
---
 Makefile   |   11 +-
 VersionNum |   10 +-
 c/bigfive  |    2 +-
 c/unictype | 1655 ----------------------------------------------------
 h/charsets |    2 +-
 5 files changed, 10 insertions(+), 1670 deletions(-)
 delete mode 100644 c/unictype

diff --git a/Makefile b/Makefile
index df04bd0..ed584d2 100644
--- a/Makefile
+++ b/Makefile
@@ -128,7 +128,7 @@ LIBS = ${TARGET} ${TARGETD} ${TARGETZ}
 #
 # Rule patterns
 #
-.SUFFIXES: .oz .od
+.SUFFIXES: .o .oz .od .c .h .s
 .c.o:;     ${CC} ${CCFLAGS} -DROM=0 -DDEBUG=0 -ff     -o $@ $<
 .c.oz:;    ${CC} ${CCFLAGS} -DROM=1 -DDEBUG=0 -ff -zM -o $@ $<
 .c.od:;    ${CC} ${CCFLAGS} -DROM=0 -DDEBUG=1         -o $@ $<
@@ -137,9 +137,9 @@ LIBS = ${TARGET} ${TARGETD} ${TARGETZ}
 .cmhg.h:;  ${CM} ${CMFLAGS} -d $@ $<
 
 #
-# build a the library:
+# build the library:
 #
-all:	${LIBS}
+all:	${LIBS} unictype.c
 
 #
 # RISC OS ROM build rules:
@@ -198,15 +198,10 @@ unictype.c: mkunictype data.UNIDATA2
 mkunictype: mkunictype.o ${CLIB}
 	${LD} -o $@ mkunictype.o ${CLIB}
 
-unictype.o od.unictype oz.unictype: unictype.c
-
 links:
 	./mklinks
 	echo Made links
 
-#od.unictype: unictype.c
-#	${CC} ${CCFLAGS} -DROM=0 -DDEBUG=1         -o $@ unictype.c
-
 #
 # Final link
 #
diff --git a/VersionNum b/VersionNum
index db84a80..0705d7f 100644
--- a/VersionNum
+++ b/VersionNum
@@ -1,13 +1,13 @@
-/* (0.12)
+/* (0.13)
  *
  * This file is automatically maintained by srccommit, do not edit manually.
  *
  */
-#define Module_MajorVersion_CMHG     	0.12
+#define Module_MajorVersion_CMHG     	0.13
 #define Module_MinorVersion_CMHG	
-#define Module_Date_CMHG      		05 Jan 1998
+#define Module_Date_CMHG      		14 Jan 1998
 
-#define Module_MajorVersion     	"0.12"
+#define Module_MajorVersion     	"0.13"
 #define Module_MinorVersion		""
-#define Module_Date      		"05 Jan 1998"
+#define Module_Date      		"14 Jan 1998"
 
diff --git a/c/bigfive b/c/bigfive
index 0e7203e..6d14c55 100644
--- a/c/bigfive
+++ b/c/bigfive
@@ -161,7 +161,7 @@ static int bigfive_write(EncodingPriv *e, UCS4 u, char **bf, int *bufsize)
 	return 0;
 
     *(*bf)++ = c;
-    if (!cc)
+    if (cc)
 	*(*bf)++ = cc;
 
     return 1;
diff --git a/c/unictype b/c/unictype
deleted file mode 100644
index 1e64644..0000000
--- a/c/unictype
+++ /dev/null
@@ -1,1655 +0,0 @@
-/* Copyright 1997 Acorn Computers Ltd
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/* > unictype.c */
-/* Generated file - do not edit by hand */
-#include "unictype.h"
-static unsigned unicode_type[39][32]={
-{
- 0x11111111,
- 0x11111111,
- 0x11111111,
- 0x11111111,
- 0x48488441,
- 0x44548843,
- 0x77777777,
- 0x48884477,
- 0x66666668,
- 0x66666666,
- 0x66666666,
- 0x8a443666,
- 0x6666666a,
- 0x66666666,
- 0x66666666,
- 0x18483666,
- 0x11111111,
- 0x11111111,
- 0x11111111,
- 0x11111111,
- 0x88888841,
- 0xa848368a,
- 0x486a7788,
- 0x4777467a,
- 0x66666666,
- 0x66666666,
- 0x86666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x86666666,
- 0x66666666
-}
-,{
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00666666,
- 0x66666600
-}
-,{
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00000006,
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0x0aaaaaaa,
- 0xaaaaaaaa,
- 0x000000aa,
- 0x00000000,
- 0x00000000
-}
-,{
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0x00aaaaaa,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x000000aa,
- 0x00000000,
- 0x008a0000,
- 0x04000a00,
- 0x46aa0000,
- 0x66060666,
- 0x66666666,
- 0x66666666,
- 0x66666066,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x06666666,
- 0x06666666,
- 0x06060600,
- 0x66666606,
- 0x66666666,
- 0x00006666,
- 0x00000000
-}
-,{
- 0x66666660,
- 0x66066666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666660,
- 0x66066666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x0aaaa866,
- 0x00000000,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x60066666,
- 0x00066006,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66006666,
- 0x00666666,
- 0x00000066
-}
-,{
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x66666660,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x06666666,
- 0x444444a0,
- 0x66666660,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00000040,
- 0xaaaaaaa0,
- 0xaaaaaaaa,
- 0xaaaaa0aa,
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0xa4aaa0aa,
- 0x000a4aa4,
- 0x00000000,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00000666,
- 0x00044666,
- 0x00000000
-}
-,{
- 0x00000000,
- 0x00040000,
- 0x00000000,
- 0x40004000,
- 0x66666660,
- 0x66666666,
- 0x66666666,
- 0x00000666,
- 0x66666666,
- 0xaaaaa666,
- 0x00000aaa,
- 0x00000000,
- 0x77777777,
- 0x00888877,
- 0x6666666a,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x06666600,
- 0x66666666,
- 0x06666666,
- 0xaa646666,
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0x00aaaa8a,
- 0x77777777,
- 0x00000077
-}
-,{
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x6660aaa0,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0xaa4a0066,
- 0xaaaaaaaa,
- 0x00aaaaaa,
- 0x000aaaa8,
- 0x66666666,
- 0x7788aa66,
- 0x77777777,
- 0x00000004,
- 0x00000000,
- 0x6660aaa0,
- 0x60066666,
- 0x66666006,
- 0x66666666,
- 0x66666666,
- 0x66666606,
- 0x66000606,
- 0xaa0a0066,
- 0xa00aaaaa,
- 0x00aaa00a,
- 0xa0000000,
- 0x60660000,
- 0x7700aa66,
- 0x77777777,
- 0x77778866,
- 0x00000877
-}
-,{
- 0x66600a00,
- 0x60000666,
- 0x66666006,
- 0x66666666,
- 0x66666666,
- 0x66666606,
- 0x06606606,
- 0xaa0a0066,
- 0xa0000aaa,
- 0x00aaa00a,
- 0x00000000,
- 0x06066660,
- 0x77000000,
- 0x77777777,
- 0x000888aa,
- 0x00000000,
- 0x6660aaa0,
- 0x60606666,
- 0x66666066,
- 0x66666666,
- 0x66666666,
- 0x66666606,
- 0x66606606,
- 0xaa4a0066,
- 0xa0aaaaaa,
- 0x00aaa0aa,
- 0x00000008,
- 0x00000000,
- 0x77000006,
- 0x77777777,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x6660aaa0,
- 0x60066666,
- 0x66666006,
- 0x66666666,
- 0x66666666,
- 0x66666606,
- 0x66006606,
- 0xaa4a0066,
- 0xa000aaaa,
- 0x00aaa00a,
- 0xaa000000,
- 0x60660000,
- 0x77000066,
- 0x77777777,
- 0x00000008,
- 0x00000000,
- 0x6660aa00,
- 0x66000666,
- 0x00666606,
- 0x66060660,
- 0x00066000,
- 0x66000666,
- 0x60666666,
- 0xaa000066,
- 0xaa000aaa,
- 0x00aaaa0a,
- 0xa0000000,
- 0x00000000,
- 0x70000000,
- 0x77777777,
- 0x00000777,
- 0x00000000
-}
-,{
- 0x6660aaa0,
- 0x66066666,
- 0x66666606,
- 0x66666666,
- 0x66666666,
- 0x66666606,
- 0x66606666,
- 0xaa000066,
- 0xaa0aaaaa,
- 0x00aaaa0a,
- 0x0aa00000,
- 0x00000000,
- 0x77000066,
- 0x77777777,
- 0x00000000,
- 0x00000000,
- 0x6660aa00,
- 0x66066666,
- 0x66666606,
- 0x66666666,
- 0x66666666,
- 0x66666606,
- 0x66606666,
- 0xaa000066,
- 0xaa0aaaaa,
- 0x00aaaa0a,
- 0x0aa00000,
- 0x06000000,
- 0x77000066,
- 0x77777777,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x6660aa00,
- 0x66066666,
- 0x66666606,
- 0x66666666,
- 0x66666666,
- 0x66666606,
- 0x66666666,
- 0xaa000066,
- 0xaa00aaaa,
- 0x00aaaa0a,
- 0xa0000000,
- 0x00000000,
- 0x77000066,
- 0x77777777,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x66666660,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0xaaaa66a6,
- 0x80000aaa,
- 0xa6666666,
- 0x6aaaaaaa,
- 0x77777777,
- 0x00006677,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x60060660,
- 0x00600606,
- 0x66660000,
- 0x66666660,
- 0x60606660,
- 0x46606600,
- 0xaaaa66a6,
- 0x006aa0aa,
- 0x08066666,
- 0x00aaaaaa,
- 0x77777777,
- 0x00660077,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x44448888,
- 0x44444444,
- 0x88888444,
- 0x88888866,
- 0x77777777,
- 0x77777777,
- 0xa8a87777,
- 0xaa4343a8,
- 0x66666666,
- 0x66666660,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00000066,
- 0xaaaaaaa0,
- 0xaaaaaaaa,
- 0xaa4aaaaa,
- 0x0000aaaa,
- 0xa0aaaaaa,
- 0xaaaaaaa0,
- 0xaaaaaaaa,
- 0x00aaaaaa,
- 0xaaaaaaa0,
- 0x000000a0,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00666666,
- 0x00000000,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x06666666,
- 0x00004000
-}
-,{
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x60000066,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00000666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00000066
-}
-,{
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00006666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00000066
-}
-,{
- 0x66666666,
- 0x66666666,
- 0x00666666,
- 0x00666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00666666,
- 0x00666666,
- 0x66666666,
- 0x60606060,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66066666,
- 0xa6a66666,
- 0x660666aa,
- 0xaaa66666,
- 0x66006666,
- 0xaaa06666,
- 0x66666666,
- 0xaaa66666,
- 0x66066600,
- 0x0aa66666
-}
-,{
- 0x11111111,
- 0x11111111,
- 0x44555555,
- 0x44434443,
- 0x44444444,
- 0x01111122,
- 0x44444444,
- 0x88844434,
- 0x04388888,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x11111100,
- 0x77770007,
- 0x64388877,
- 0x77777777,
- 0x04388877,
- 0x00000000,
- 0x00000000,
- 0x88888888,
- 0x00008886,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0xaaaaaaaa,
- 0xaaaaaaaa,
- 0x000000aa,
- 0x00000000,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x68888688,
- 0x66666688,
- 0x66686666,
- 0x88666666,
- 0x86868666,
- 0x66666686,
- 0x66666866,
- 0x00000006,
- 0x00000000,
- 0x00000000,
- 0x77777000,
- 0x77777777,
- 0x77777777,
- 0x77777777,
- 0x77777777,
- 0x77777777,
- 0x00000777,
- 0x00000000,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x00000888,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x00000088,
- 0x00000000
-}
-,{
- 0x88888808,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888438,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x00000888,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x00088888,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x88888888,
- 0x00000888,
- 0x00000000,
- 0x00000000,
- 0x77777777,
- 0x77777777,
- 0x77777777,
- 0x77777777,
- 0x77777777,
- 0x77777777,
- 0x77777777,
- 0x88887777,
- 0x88888888,
- 0x88888888,
- 0x66888888,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00000766,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x00888888,
- 0x00000000,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x88888888,
- 0x88888888,
- 0x00008888,
- 0x88888800,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x88088880,
- 0x88880088,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888880,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x80808888,
- 0x08000888,
- 0x08888888,
- 0x88888880,
- 0x00000000,
- 0x77000000,
- 0x77777777,
- 0x77777777,
- 0x77777777,
- 0x00087777,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888880,
- 0x08888888,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x74484441,
- 0x43434343,
- 0x43438843,
- 0x88854343,
- 0x77777778,
- 0xaaaaaa77,
- 0x88888885,
- 0x80000000,
- 0x66666660,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00066666,
- 0x0aaaaaa0,
- 0x66666660,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x0aaa4666
-}
-,{
- 0x66600000,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00066666,
- 0x66666660,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x06666666,
- 0x66666688,
- 0x66666666,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x00088888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x00008888,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x80006666,
- 0x77777777,
- 0x66666677,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00000006,
- 0x00000000,
- 0x88888888,
- 0x00008888,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x06666666
-}
-,{
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x06666668,
- 0x66666000,
- 0x66666666,
- 0x66666666,
- 0x88866666,
- 0x86666668,
- 0x88888888,
- 0x88666668,
- 0x66666666,
- 0x66666666,
- 0x68666866,
- 0x66666666,
- 0x66666666,
- 0x00666668,
- 0x88888888,
- 0x88888888,
- 0x88888888,
- 0x08888888
-}
-,{
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666
-}
-,{
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00666666,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00006666,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00666666,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000
-}
-,{
- 0x06666666,
- 0x00000000,
- 0x66666000,
- 0x6a000000,
- 0x66666666,
- 0x66666686,
- 0x06666666,
- 0x06066666,
- 0x66066066,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00000066,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x66666000,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666
-}
-,{
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x43666666,
- 0x00000000,
- 0x00000000,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666600,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x66666666,
- 0x00008866
-}
-,{
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x00000000,
- 0x0000aaaa,
- 0x00000000,
- 0x34388554,
- 0x34343434,
- 0x00043434,
- 0x88888880,
- 0x44440444,
- 0x84343435,
- 0x08885888,
- 0x00008484,
- 0x66060666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x10066666
-}
-,{
- 0x48488440,
- 0x44548843,
- 0x77777777,
- 0x48884477,
- 0x66666668,
- 0x66666666,
- 0x66666666,
- 0x8a443666,
- 0x6666666a,
- 0x66666666,
- 0x66666666,
- 0x08483666,
- 0x66444340,
- 0x66666666,
- 0x6666666a,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0xaa666666,
- 0x66666666,
- 0x66666666,
- 0x66666666,
- 0x06666666,
- 0x66666600,
- 0x66666600,
- 0x66666600,
- 0x00066600,
- 0x0888a888,
- 0x08888888,
- 0x00000000,
- 0x00800000
-}
-};
-static unsigned *unicode_type_ref[256]={
- (unsigned *)0,
- (unsigned *)1,
- (unsigned *)2,
- (unsigned *)3,
- (unsigned *)4,
- (unsigned *)5,
- (unsigned *)6,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)8,
- (unsigned *)9,
- (unsigned *)10,
- (unsigned *)11,
- (unsigned *)12,
- (unsigned *)13,
- (unsigned *)14,
- (unsigned *)15,
- (unsigned *)16,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)17,
- (unsigned *)18,
- (unsigned *)19,
- (unsigned *)20,
- (unsigned *)21,
- (unsigned *)22,
- (unsigned *)23,
- (unsigned *)24,
- (unsigned *)25,
- (unsigned *)26,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)27,
- (unsigned *)28,
- (unsigned *)29,
- (unsigned *)30,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)32,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)7,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)33,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)31,
- (unsigned *)34,
- (unsigned *)35,
- (unsigned *)31,
- (unsigned *)36,
- (unsigned *)37,
- (unsigned *)38,
-};
-int unictype_lookup(UCS2 c)
-{
- unsigned val = (unicode_type_ref[c >> 8]) [(c >> 3) & 0x1F];
- int i = (c & 7);
- return ((val >> (i*4)) & 15);
-}
-
-void unictype_init(void)
-{
- int i;
- for (i=0; i < 256; i++)
-  unicode_type_ref[i] = &(unicode_type[(int)unicode_type_ref[i]][0]);
-}
-
-int unictype_is_ideograph(UCS2 u)
-{
- if (u < 0x3000) return 0;
- if (u == 0x3003) return 0;
- if (u <= 0x3007) return 1;
- if (u < 0x3021) return 0;
- if (u <= 0x302D) return 1;
- if (u == 0x3037) return 1;
- if (u == 0x303F) return 1;
- if (u < 0x3041) return 0;
- if (u <= 0x3094) return 1;
- if (u < 0x3099) return 0;
- if (u <= 0x309E) return 1;
- if (u < 0x30A1) return 0;
- if (u <= 0x30FE) return 1;
- if (u < 0x3190) return 0;
- if (u <= 0x3243) return 1;
- if (u < 0x3280) return 0;
- if (u <= 0x32B0) return 1;
- if (u < 0x32C0) return 0;
- if (u <= 0x32CB) return 1;
- if (u < 0x32D0) return 0;
- if (u <= 0x32FE) return 1;
- if (u < 0x3358) return 0;
- if (u <= 0x337F) return 1;
- if (u < 0x33E0) return 0;
- if (u <= 0x33FE) return 1;
- if (u < 0x4E00) return 0;
- if (u <= 0x9FA5) return 1;
- if (u < 0xF900) return 0;
- if (u <= 0xFA2D) return 1;
- if (u == 0xFE51) return 1;
- if (u < 0xFF01) return 0;
- if (u <= 0xFF9F) return 1;
- return 0;
-}
-
-/* eof unictype.c */
diff --git a/h/charsets b/h/charsets
index 36f8fe5..488bce9 100644
--- a/h/charsets
+++ b/h/charsets
@@ -223,7 +223,7 @@
 #define csMicrosoftPublishing	2023
 #define csWindows31J	2024
 #define csGB2312	2025
-#define csBig5	2085
+#define csBig5	2026
 
 #define csWindows1250	2250
 #define csWindows1251	2251
-- 
GitLab