fix bug 23944. make range 0xE5-0xFC invalid frist byte of SJIS. code generate by perl script and reviewed by ftang

This commit is contained in:
ftang%netscape.com 2000-02-04 00:38:39 +00:00
parent a12a7f2a31
commit f235206802
2 changed files with 5 additions and 4 deletions

View File

@ -57,9 +57,9 @@ PCK4BITS(2,2,2,2,2,2,2,2), // c8 - cf
PCK4BITS(2,2,2,2,2,2,2,2), // d0 - d7
PCK4BITS(2,2,2,2,2,2,2,2), // d8 - df
PCK4BITS(3,3,3,3,3,3,3,3), // e0 - e7
PCK4BITS(3,3,3,5,5,3,3,3), // e8 - ef
PCK4BITS(3,3,3,3,3,3,3,3), // f0 - f7
PCK4BITS(3,3,3,3,3,0,0,0) // f8 - ff
PCK4BITS(3,3,3,5,5,4,4,4), // e8 - ef
PCK4BITS(4,4,4,4,4,4,4,4), // f0 - f7
PCK4BITS(4,4,4,4,4,0,0,0) // f8 - ff
};

View File

@ -22,7 +22,8 @@ my($sjis_ver);
[ 0xa1 , 0xdf , 2 ],
[ 0x80 , 0x9f , 3 ],
[ 0xa0 , 0xa0 , 4 ],
[ 0xe0 , 0xfc , 3 ],
[ 0xe0 , 0xea , 3 ],
[ 0xed , 0xfc , 4 ],
);
package genverifier;