4 * Copyright (c)2007 Citrus Project,
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 VARIABLE CODESET=ISO8859-9
32 ALPHA 'A' - 'Z' 'a' - 'z'
33 CONTROL 0x00 - 0x1f 0x7f
37 PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
40 XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
45 MAPUPPER <'A' - 'Z' : 'A'>
46 MAPUPPER <'a' - 'z' : 'A'>
47 MAPLOWER <'A' - 'Z' : 'a'>
48 MAPLOWER <'a' - 'z' : 'a'>
49 TODIGIT <'0' - '9' : 0>
50 TODIGIT <'A' - 'F' : 10>
51 TODIGIT <'a' - 'f' : 10>
53 ALPHA 0xc0 - 0xd6 0xd8 - 0xf6 0xf8 - 0xff
56 LOWER 0xdf - 0xf6 0xf8 - 0xff
57 PUNCT 0xa1 - 0xbf 0xd7 0xf7
59 UPPER 0xc0 - 0xd6 0xd8 - 0xde
64 MAPLOWER <0xc0 - 0xd6 : 0xe0>
65 MAPLOWER <0xd8 - 0xde : 0xf8>
66 MAPLOWER <0xdf - 0xf6 : 0xdf>
67 MAPLOWER <0xf8 - 0xff : 0xf8>
68 MAPUPPER <0xc0 - 0xd6 : 0xc0>
69 MAPUPPER <0xd8 - 0xde : 0xd8>
70 MAPUPPER <0xe0 - 0xf6 : 0xc0>
71 MAPUPPER <0xf8 - 0xfe : 0xd8>