Bug 468575 - Scrape some gunk off the config/ grout, r=ted
[wine-gecko.git] / intl / chardet / tools / geneuctw.pl
bloba7a3df902207d24ecca94f0ee9f4495790054f5b
1 #!/usr/local/bin/perl
2 use strict;
3 require "genverifier.pm";
4 use genverifier;
7 my(@euctw_cls);
8 my(@euctw_st);
9 my($euctw_ver);
12 @euctw_cls = (
13 [ 0x00 , 0x00 , 2 ],
14 [ 0x0e , 0x0f , 0 ],
15 [ 0x1b , 0x1b , 0 ],
16 [ 0x01 , 0x7f , 2 ],
17 [ 0x8e , 0x8e , 6 ],
18 [ 0x80 , 0xa0 , 0 ],
19 [ 0xff , 0xff , 0 ],
20 [ 0xa1 , 0xa1 , 3 ],
21 [ 0xa2 , 0xa7 , 4 ],
22 [ 0xa8 , 0xa9 , 5 ],
23 [ 0xaa , 0xc1 , 1 ],
24 [ 0xc2 , 0xc2 , 3 ],
25 [ 0xc3 , 0xc3 , 1 ],
26 [ 0xc4 , 0xfe , 3 ],
29 package genverifier;
30 @euctw_st = (
31 # 0 1 2 3 4 5 6
32 1, 1, 0, 3, 3, 3, 4, # state 0
33 1, 1, 1, 1, 1, 1, 1, # Error State - 1
34 2, 2, 2, 2, 2, 2, 2, # ItsMe State - 2
35 1, 0, 1, 0, 0, 0, 1, # state 3
36 1, 1, 1, 1, 5, 1, 1, # state 4
37 1, 0, 1, 0, 0, 0, 1, # state 5
41 $euctw_ver = genverifier::GenVerifier("EUCTW", "x-euc-tw", \@euctw_cls, 7, \@euctw_st);
42 print $euctw_ver;