Subject: lib/29658: incorrect DST_UNIT_BITS and DST_INVALID in character set maps
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <joerg@leaf.dragonflybsd.org>
List: netbsd-bugs
Date: 03/11/2005 13:54:00
>Number:         29658
>Category:       lib
>Synopsis:       incorrect DST_UNIT_BITS and DST_INVALID in character set maps
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 11 13:54:00 +0000 2005
>Originator:     Joerg Sonnenberger
>Release:        CVS-HEAD
>Organization:
>Environment:
>Description:
A number of Code Pages specify a 8bit character mapping, but use 16bit runes, making them inaccessible for the actual conversion. Similiary do some Coage Pages specify an invalid rune e.g. of 0x00, which is actually used in the mapping table and makes that rune mapping invalid.
>How-To-Repeat:

>Fix:
diff -ur csmapper/CP/UCS%CP037.src csmapper.new/CP/UCS%CP037.src
--- csmapper/CP/UCS%CP037.src	2003-07-14 08:03:36.000000000 +0200
+++ csmapper.new/CP/UCS%CP037.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP037"
 SRC_ZONE	0x0000 - 0x203E
 OOB_MODE	INVALID
-DST_INVALID	0x3F
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP1006.src csmapper.new/CP/UCS%CP1006.src
--- csmapper/CP/UCS%CP1006.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP1006.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS/CP1006"
 SRC_ZONE	0x0000 - 0xFEF3
 OOB_MODE	INVALID
-DST_INVALID	0x00
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP1026.src csmapper.new/CP/UCS%CP1026.src
--- csmapper/CP/UCS%CP1026.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP1026.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP1026"
 SRC_ZONE	0x0000 - 0x2014
 OOB_MODE	INVALID
-DST_INVALID	0x3F
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP1250.src csmapper.new/CP/UCS%CP1250.src
--- csmapper/CP/UCS%CP1250.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP1250.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x2122
 OOB_MODE	INVALID
 DST_INVALID	0x98
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP1251.src csmapper.new/CP/UCS%CP1251.src
--- csmapper/CP/UCS%CP1251.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP1251.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x2122
 OOB_MODE	INVALID
 DST_INVALID	0x98
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP1252.src csmapper.new/CP/UCS%CP1252.src
--- csmapper/CP/UCS%CP1252.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP1252.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x2122
 OOB_MODE	INVALID
 DST_INVALID	0x9D
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP1253.src csmapper.new/CP/UCS%CP1253.src
--- csmapper/CP/UCS%CP1253.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP1253.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x2122
 OOB_MODE	INVALID
 DST_INVALID	0xFF
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP1254.src csmapper.new/CP/UCS%CP1254.src
--- csmapper/CP/UCS%CP1254.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP1254.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x2122
 OOB_MODE	INVALID
 DST_INVALID	0x9E
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP1255.src csmapper.new/CP/UCS%CP1255.src
--- csmapper/CP/UCS%CP1255.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP1255.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x2122
 OOB_MODE	INVALID
 DST_INVALID	0xFF
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP1256.src csmapper.new/CP/UCS%CP1256.src
--- csmapper/CP/UCS%CP1256.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP1256.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS/CP1256"
 SRC_ZONE	0x0000 - 0x2122
 OOB_MODE	INVALID
-DST_INVALID	0x00
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP1257.src csmapper.new/CP/UCS%CP1257.src
--- csmapper/CP/UCS%CP1257.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP1257.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x2122
 OOB_MODE	INVALID
 DST_INVALID	0xA5
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP1258.src csmapper.new/CP/UCS%CP1258.src
--- csmapper/CP/UCS%CP1258.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP1258.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x2122
 OOB_MODE	INVALID
 DST_INVALID	0x9E
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP273.src csmapper.new/CP/UCS%CP273.src
--- csmapper/CP/UCS%CP273.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP273.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP273"
 SRC_ZONE	0x0000 - 0x203E
 OOB_MODE	INVALID
-DST_INVALID	0x3F
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP275.src csmapper.new/CP/UCS%CP275.src
--- csmapper/CP/UCS%CP275.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP275.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x00F5
 OOB_MODE	INVALID
 DST_INVALID	0xFE
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP277.src csmapper.new/CP/UCS%CP277.src
--- csmapper/CP/UCS%CP277.src	2003-07-14 08:03:37.000000000 +0200
+++ csmapper.new/CP/UCS%CP277.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP277"
 SRC_ZONE	0x0000 - 0x203E
 OOB_MODE	INVALID
-DST_INVALID	0x3F
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP278.src csmapper.new/CP/UCS%CP278.src
--- csmapper/CP/UCS%CP278.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP278.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP278"
 SRC_ZONE	0x0000 - 0x203E
 OOB_MODE	INVALID
-DST_INVALID	0x3F
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP280.src csmapper.new/CP/UCS%CP280.src
--- csmapper/CP/UCS%CP280.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP280.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP280"
 SRC_ZONE	0x0000 - 0x203E
 OOB_MODE	INVALID
-DST_INVALID	0x3F
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP281.src csmapper.new/CP/UCS%CP281.src
--- csmapper/CP/UCS%CP281.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP281.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x203E
 OOB_MODE	INVALID
 DST_INVALID	0xFE
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP284.src csmapper.new/CP/UCS%CP284.src
--- csmapper/CP/UCS%CP284.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP284.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP284"
 SRC_ZONE	0x0000 - 0x203E
 OOB_MODE	INVALID
-DST_INVALID	0x3F
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP285.src csmapper.new/CP/UCS%CP285.src
--- csmapper/CP/UCS%CP285.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP285.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP285"
 SRC_ZONE	0x0000 - 0x203E
 OOB_MODE	INVALID
-DST_INVALID	0x3F
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP290.src csmapper.new/CP/UCS%CP290.src
--- csmapper/CP/UCS%CP290.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP290.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x30FC
 OOB_MODE	INVALID
 DST_INVALID	0xFE
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP297.src csmapper.new/CP/UCS%CP297.src
--- csmapper/CP/UCS%CP297.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP297.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP297"
 SRC_ZONE	0x0000 - 0x203E
 OOB_MODE	INVALID
-DST_INVALID	0x3F
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP420.src csmapper.new/CP/UCS%CP420.src
--- csmapper/CP/UCS%CP420.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP420.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0xFEFC
 OOB_MODE	INVALID
 DST_INVALID	0xFA
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP423.src csmapper.new/CP/UCS%CP423.src
--- csmapper/CP/UCS%CP423.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP423.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x044D
 OOB_MODE	INVALID
 DST_INVALID	0xF1
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP424.src csmapper.new/CP/UCS%CP424.src
--- csmapper/CP/UCS%CP424.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP424.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x21D4
 OOB_MODE	INVALID
 DST_INVALID	0xFE
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP437.src csmapper.new/CP/UCS%CP437.src
--- csmapper/CP/UCS%CP437.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP437.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP437"
 SRC_ZONE	0x0000 - 0xE023
 OOB_MODE	INVALID
-DST_INVALID	0x00
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP500.src csmapper.new/CP/UCS%CP500.src
--- csmapper/CP/UCS%CP500.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP500.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP500"
 SRC_ZONE	0x0000 - 0x203E
 OOB_MODE	INVALID
-DST_INVALID	0x3F
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP737.src csmapper.new/CP/UCS%CP737.src
--- csmapper/CP/UCS%CP737.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP737.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS/CP737"
 SRC_ZONE	0x0000 - 0x25A0
 OOB_MODE	INVALID
-DST_INVALID	0x00
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP775.src csmapper.new/CP/UCS%CP775.src
--- csmapper/CP/UCS%CP775.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP775.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS/CP775"
 SRC_ZONE	0x0000 - 0x25A0
 OOB_MODE	INVALID
-DST_INVALID	0x00
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP850.src csmapper.new/CP/UCS%CP850.src
--- csmapper/CP/UCS%CP850.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP850.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS/CP850"
 SRC_ZONE	0x0000 - 0x25A0
 OOB_MODE	INVALID
-DST_INVALID	0x00
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP851.src csmapper.new/CP/UCS%CP851.src
--- csmapper/CP/UCS%CP851.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP851.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x25A0
 OOB_MODE	INVALID
 DST_INVALID	0x91
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP852.src csmapper.new/CP/UCS%CP852.src
--- csmapper/CP/UCS%CP852.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP852.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x25A0
 OOB_MODE	INVALID
 DST_INVALID	0xAA
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP855.src csmapper.new/CP/UCS%CP855.src
--- csmapper/CP/UCS%CP855.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP855.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x25A0
 OOB_MODE	INVALID
 DST_INVALID	0xFD
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP856.src csmapper.new/CP/UCS%CP856.src
--- csmapper/CP/UCS%CP856.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP856.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x25A0
 OOB_MODE	INVALID
 DST_INVALID	0xED
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP857.src csmapper.new/CP/UCS%CP857.src
--- csmapper/CP/UCS%CP857.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP857.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP857"
 SRC_ZONE	0x0000 - 0x25A0
 OOB_MODE	INVALID
-DST_INVALID	0xF2
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP860.src csmapper.new/CP/UCS%CP860.src
--- csmapper/CP/UCS%CP860.src	2003-07-14 08:03:38.000000000 +0200
+++ csmapper.new/CP/UCS%CP860.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP860"
 SRC_ZONE	0x0000 - 0x25A0
 OOB_MODE	INVALID
-DST_INVALID	0x00
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP861.src csmapper.new/CP/UCS%CP861.src
--- csmapper/CP/UCS%CP861.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP861.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x25A0
 OOB_MODE	INVALID
 DST_INVALID	0xA9
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP862.src csmapper.new/CP/UCS%CP862.src
--- csmapper/CP/UCS%CP862.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP862.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x25A0
 OOB_MODE	INVALID
 DST_INVALID	0xA9
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP863.src csmapper.new/CP/UCS%CP863.src
--- csmapper/CP/UCS%CP863.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP863.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP863"
 SRC_ZONE	0x0000 - 0xE023
 OOB_MODE	INVALID
-DST_INVALID	0x00
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP864.src csmapper.new/CP/UCS%CP864.src
--- csmapper/CP/UCS%CP864.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP864.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0xFEFC
 OOB_MODE	INVALID
 DST_INVALID	0xA7
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP865.src csmapper.new/CP/UCS%CP865.src
--- csmapper/CP/UCS%CP865.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP865.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP865"
 SRC_ZONE	0x0000 - 0xE023
 OOB_MODE	INVALID
-DST_INVALID	0x00
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP866.src csmapper.new/CP/UCS%CP866.src
--- csmapper/CP/UCS%CP866.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP866.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS/CP866"
 SRC_ZONE	0x0000 - 0x25A0
 OOB_MODE	INVALID
-DST_INVALID	0x00
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP868.src csmapper.new/CP/UCS%CP868.src
--- csmapper/CP/UCS%CP868.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP868.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0xFEE6
 OOB_MODE	INVALID
 DST_INVALID	0xFD
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP869.src csmapper.new/CP/UCS%CP869.src
--- csmapper/CP/UCS%CP869.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP869.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x25A0
 OOB_MODE	INVALID
 DST_INVALID	0x94
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP870.src csmapper.new/CP/UCS%CP870.src
--- csmapper/CP/UCS%CP870.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP870.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x02DD
 OOB_MODE	INVALID
 DST_INVALID	0xB3
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP871.src csmapper.new/CP/UCS%CP871.src
--- csmapper/CP/UCS%CP871.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP871.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP871"
 SRC_ZONE	0x0000 - 0x203E
 OOB_MODE	INVALID
-DST_INVALID	0x3F
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP874.src csmapper.new/CP/UCS%CP874.src
--- csmapper/CP/UCS%CP874.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP874.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x20AC
 OOB_MODE	INVALID
 DST_INVALID	0xFF
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP875.src csmapper.new/CP/UCS%CP875.src
--- csmapper/CP/UCS%CP875.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP875.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS/CP875"
 SRC_ZONE	0x0000 - 0x2019
 OOB_MODE	INVALID
-DST_INVALID	0x00
-DST_UNIT_BITS	8
+DST_INVALID	0xFFFF
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP880.src csmapper.new/CP/UCS%CP880.src
--- csmapper/CP/UCS%CP880.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP880.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0x2116
 OOB_MODE	INVALID
 DST_INVALID	0xD0
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP905.src csmapper.new/CP/UCS%CP905.src
--- csmapper/CP/UCS%CP905.src	2003-07-14 08:03:39.000000000 +0200
+++ csmapper.new/CP/UCS%CP905.src	2005-03-01 01:28:40.000000000 +0100
@@ -4,8 +4,8 @@
 NAME		"UCS%CP905"
 SRC_ZONE	0x0000 - 0x02DB
 OOB_MODE	INVALID
 DST_INVALID	0xDF
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #
diff -ur csmapper/CP/UCS%CP918.src csmapper.new/CP/UCS%CP918.src
--- csmapper/CP/UCS%CP918.src	2003-07-14 08:03:40.000000000 +0200
+++ csmapper.new/CP/UCS%CP918.src	2005-03-01 01:28:40.000000000 +0100
@@ -5,7 +5,7 @@
 SRC_ZONE	0x0000 - 0xFEE6
 OOB_MODE	INVALID
 DST_INVALID	0xFC
-DST_UNIT_BITS	8
+DST_UNIT_BITS	16
 
 BEGIN_MAP
 #