Various fixes mostly for letters range

Obtained from: partially from Kaleb S. Keithley <kaleb@x.org> patch
This commit is contained in:
Andrey A. Chernov 1995-10-15 16:49:16 +00:00
parent aa9134f375
commit 283f4b8de4

View File

@ -11,12 +11,12 @@ ALPHA 'A' - 'Z' 'a' - 'z' 0xc0 - 0xff
CONTROL 0x00 - 0x1f 0x7f - 0x9f
DIGIT '0' - '9'
GRAPH 0x21 - 0x7e 0xa0 - 0xff
LOWER 'a' - 'z' 0xe0 - 0xff
PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e 0xa1 - 0xbf
SPACE 0x09 - 0x0d 0x20 0xa0
UPPER 'A' - 'Z' 0xc0 - 0xde
LOWER 'a' - 'z' 0xdf - 0xf6 0xf8 - 0xff
PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e 0xa1 - 0xbf 0xd7 0xf7
SPACE 0x09 - 0x0d ' ' 0xa0
UPPER 'A' - 'Z' 0xc0 - 0xd6 0xd8 - 0xde
XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
BLANK ' ' '\t' 0xa0
BLANK ' ' '\t'
PRINT 0x20 - 0x7e 0xa0 - 0xff
# IDEOGRAM
# SPECIAL
@ -24,12 +24,16 @@ PRINT 0x20 - 0x7e 0xa0 - 0xff
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
MAPLOWER <0xc0 - 0xdd : 0xe0>
MAPLOWER <0xe0 - 0xff : 0xe0>
MAPLOWER <0xc0 - 0xd6 : 0xe0>
MAPLOWER <0xd8 - 0xde : 0xf8>
MAPLOWER <0xdf - 0xf6 : 0xdf>
MAPLOWER <0xf8 - 0xff : 0xf8>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'z' : 'A'>
MAPUPPER <0xc0 - 0xdd : 0xc0>
MAPUPPER <0xe0 - 0xff : 0xc0>
MAPUPPER <0xc0 - 0xd6 : 0xc0>
MAPUPPER <0xd8 - 0xde : 0xd8>
MAPUPPER <0xe0 - 0xf6 : 0xc0>
MAPUPPER <0xf8 - 0xfe : 0xd8>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>