1 /*
2  * "streamable kanji code filter and converter"
3  * Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
4  *
5  * LICENSE NOTICES
6  *
7  * This file is part of "streamable kanji code filter and converter",
8  * which is distributed under the terms of GNU Lesser General Public
9  * License (version 2) as published by the Free Software Foundation.
10  *
11  * This software is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with "streamable kanji code filter and converter";
18  * if not, write to the Free Software Foundation, Inc., 59 Temple Place,
19  * Suite 330, Boston, MA  02111-1307  USA
20  *
21  * The authors of this file: PHP3 Internationalization team
22  */
23 
24 /* Should we use QPrint-encoding in MIME Header encoded-word? */
25 static const unsigned char mime_char_needs_qencode[] = {
26 /* NUL 0  */  1,
27 /* SCH 1  */  1,
28 /* SIX 2  */  1,
29 /* EIX 3  */  1,
30 /* EOT 4  */  1,
31 /* ENQ 5  */  1,
32 /* ACK 6  */  1,
33 /* BEL 7  */  1,
34 /* BS  8  */  1,
35 /* HI  9  */  1,
36 /* LF  10 */  1,
37 /* VI  11 */  1,
38 /* FF  12 */  1,
39 /* CR  13 */  1,
40 /* SO  14 */  1,
41 /* SI  15 */  1,
42 /* SLE 16 */  1,
43 /* CSI 17 */  1,
44 /* DC2 18 */  1,
45 /* DC3 19 */  1,
46 /* DC4 20 */  1,
47 /* NAK 21 */  1,
48 /* SYN 22 */  1,
49 /* EIB 23 */  1,
50 /* CAN 24 */  1,
51 /* EM  25 */  1,
52 /* SLB 26 */  1,
53 /* ESC 27 */  1,
54 /* FS  28 */  1,
55 /* GS  29 */  1,
56 /* RS  30 */  1,
57 /* US  31 */  1,
58 /* SP  32 */  1,
59 /* !   33 */  0,
60 /* "   34 */  1,
61 /* #   35 */  1,
62 /* $   36 */  1,
63 /* %   37 */  1,
64 /* &   38 */  1,
65 /* '   39 */  1,
66 /* (   40 */  1,
67 /* )   41 */  1,
68 /* *   42 */  0,
69 /* +   43 */  0,
70 /* ,   44 */  1,
71 /* -   45 */  0,
72 /* .   46 */  1,
73 /* /   47 */  0,
74 /* 0   48 */  1,
75 /* 1   49 */  1,
76 /* 2   50 */  1,
77 /* 3   51 */  1,
78 /* 4   52 */  1,
79 /* 5   53 */  1,
80 /* 6   54 */  1,
81 /* 7   55 */  1,
82 /* 8   56 */  1,
83 /* 9   57 */  1,
84 /* :   58 */  1,
85 /* ;   59 */  1,
86 /* <   60 */  1,
87 /* =   61 */  0,
88 /* >   62 */  1,
89 /* ?   63 */  1,
90 /* @   64 */  1,
91 /* A   65 */  0,
92 /* B   66 */  0,
93 /* C   67 */  0,
94 /* D   68 */  0,
95 /* E   69 */  0,
96 /* F   70 */  0,
97 /* G   71 */  0,
98 /* H   72 */  0,
99 /* I   73 */  0,
100 /* J   74 */  0,
101 /* K   75 */  0,
102 /* L   76 */  0,
103 /* M   77 */  0,
104 /* N   78 */  0,
105 /* O   79 */  0,
106 /* P   80 */  0,
107 /* Q   81 */  0,
108 /* R   82 */  0,
109 /* S   83 */  0,
110 /* T   84 */  0,
111 /* U   85 */  0,
112 /* V   86 */  0,
113 /* W   87 */  0,
114 /* X   88 */  0,
115 /* Y   89 */  0,
116 /* Z   90 */  0,
117 /* [   91 */  1,
118 /* \   92 */  1,
119 /* ]   93 */  1,
120 /* ^   94 */  1,
121 /* _   95 */  1,
122 /* `   96 */  1,
123 /* a   97 */  0,
124 /* b   98 */  0,
125 /* c   99 */  0,
126 /* d  100 */  0,
127 /* e  101 */  0,
128 /* f  102 */  0,
129 /* g  103 */  0,
130 /* h  104 */  0,
131 /* i  105 */  0,
132 /* j  106 */  0,
133 /* k  107 */  0,
134 /* l  108 */  0,
135 /* m  109 */  0,
136 /* n  110 */  0,
137 /* o  111 */  0,
138 /* p  112 */  0,
139 /* q  113 */  0,
140 /* r  114 */  0,
141 /* s  115 */  0,
142 /* t  116 */  0,
143 /* u  117 */  0,
144 /* v  118 */  0,
145 /* w  119 */  0,
146 /* x  120 */  0,
147 /* y  121 */  0,
148 /* z  122 */  0,
149 /* {  123 */  1,
150 /* |  124 */  1,
151 /* }  125 */  1,
152 /* ~  126 */  1,
153 /* DEL 127 */ 1
154 };
155