mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 16:10:46 +01:00
f16fb8e0f7
Here's something that should be a big selling point for European users. Note that Linux still doesn't support anything other than the POSIX locale. This is a superset of the POSIX locale with support for all the accented characters. You need this to do compose processing in XFree86 3.x. I'm using this on my 1.1.5.1 system. Don't know whether it works on 2.0, but can't think of any reason why it wouldn't. Submitted by: kaleb
38 lines
951 B
Plaintext
38 lines
951 B
Plaintext
# @(#)iso_8859_1 8.1 (Berkeley) 6/6/93
|
|
|
|
/*
|
|
* Standard LOCALE_CTYPE for the iso_8859_1 Locale
|
|
*/
|
|
ENCODING "UTF2"
|
|
VARIABLE A comment line or data line. Only 1 allowed. Copied verbatim.
|
|
|
|
#
|
|
# This is a comment
|
|
#
|
|
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
|
|
XDIGIT 'a' - 'f' 'A' - 'F'
|
|
BLANK ' ' '\t' 0xa0
|
|
PRINT 0x20 - 0x7e 0xa0 - 0xff
|
|
# IDEOGRAM
|
|
# SPECIAL
|
|
# PHONEGRAM
|
|
|
|
MAPLOWER <'A' - 'Z' : 'a'>
|
|
MAPLOWER <'a' - 'z' : 'a'>
|
|
MAPLOWER <0xc0 - 0xdd : 0xe0>
|
|
MAPLOWER <0xe0 - 0xff : 0xe0>
|
|
MAPUPPER <'A' - 'Z' : 'A'>
|
|
MAPUPPER <'a' - 'z' : 'A'>
|
|
MAPUPPER <0xc0 - 0xdd : 0xc0>
|
|
MAPUPPER <0xe0 - 0xff : 0xc0>
|
|
TODIGIT <'0' - '9' : 0>
|
|
TODIGIT <'A' - 'F' : 10>
|
|
TODIGIT <'a' - 'f' : 10>
|