Bug 468575 - Scrape some gunk off the config/ grout, r=ted
[wine-gecko.git] / intl / chardet / tools / geneuckr.pl
blobc64fb43675ec3c0e8fed5851cfde39004e69c7dc
1 #!/usr/local/bin/perl
2 use strict;
3 require "genverifier.pm";
4 use genverifier;
7 my(@euckr_cls);
8 my(@euckr_st);
9 my($euckr_ver);
12 @euckr_cls = (
13 [ 0x00 , 0x00 , 1 ],
14 [ 0x0e , 0x0f , 0 ],
15 [ 0x1b , 0x1b , 0 ],
16 [ 0x01 , 0x7f , 1 ],
17 [ 0x80 , 0xa0 , 0 ],
18 [ 0xff , 0xff , 0 ],
19 [ 0xad , 0xaf , 3 ],
20 [ 0xc9 , 0xc9 , 3 ],
21 [ 0xa1 , 0xfe , 2 ],
24 package genverifier;
25 @euckr_st = (
26 # 0 1 2 3
27 1, 0, 3, 1, # state 0
28 1, 1, 1, 1, # Error State - 1
29 2, 2, 2, 2, # ItsMe State - 2
30 1, 1, 0, 0, # state 3
34 $euckr_ver = genverifier::GenVerifier("EUCKR", "EUC-KR", \@euckr_cls, 4, \@euckr_st);
35 print $euckr_ver;