/* ISO/IEC 10646 BMP */
#define LEADING_BYTE_UCS_BMP (CHARSET_ID_OFFSET - 3)
+/* ISO/IEC 10646 SMP */
+#define LEADING_BYTE_UCS_SMP (CHARSET_ID_OFFSET - 4)
+
+/* ISO/IEC 10646 SIP */
+#define LEADING_BYTE_UCS_SIP (CHARSET_ID_OFFSET - 5)
+
/* ISO/IEC 10646 for CNS */
-#define LEADING_BYTE_UCS_CNS (CHARSET_ID_OFFSET - 5)
+#define LEADING_BYTE_UCS_CNS (CHARSET_ID_OFFSET - 6)
/* ISO/IEC 10646 for JIS */
-#define LEADING_BYTE_UCS_JIS (CHARSET_ID_OFFSET - 6)
+#define LEADING_BYTE_UCS_JIS (CHARSET_ID_OFFSET - 7)
/* ISO/IEC 10646 for KS */
-#define LEADING_BYTE_UCS_KS (CHARSET_ID_OFFSET - 7)
+#define LEADING_BYTE_UCS_KS (CHARSET_ID_OFFSET - 8)
/* ISO/IEC 10646 for Big5 */
#define LEADING_BYTE_UCS_BIG5 (CHARSET_ID_OFFSET - 9)
#define MAX_CHAR_BMP 0x00FFFF
+#define MIN_CHAR_SMP 0x010000
+#define MAX_CHAR_SMP 0x01FFFF
+
+#define MIN_CHAR_SIP 0x020000
+#define MAX_CHAR_SIP 0x02FFFF
+
#define MIN_CHAR_DAIKANWA 0x00E00000
#define MAX_CHAR_DAIKANWA (MIN_CHAR_DAIKANWA + 50100) /* 0xE0FFFF */
/*