summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-12-04 12:19:25 +0000
committerjkh <jkh@FreeBSD.org>1994-12-04 12:19:25 +0000
commitea258315843a9f79b4103a342771b7be2160212b (patch)
tree2a835311b086eb77543baddd74e3d421eeabf20d /usr.bin
parentffc253e37db1cb77fbb6b0554b9d401820e1a1b7 (diff)
downloadFreeBSD-src-ea258315843a9f79b4103a342771b7be2160212b.zip
FreeBSD-src-ea258315843a9f79b4103a342771b7be2160212b.tar.gz
From: Kaleb Keithley <kaleb@x.org>
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
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mklocale/iso_8859_137
1 files changed, 37 insertions, 0 deletions
diff --git a/usr.bin/mklocale/iso_8859_1 b/usr.bin/mklocale/iso_8859_1
new file mode 100644
index 0000000..c6861bf
--- /dev/null
+++ b/usr.bin/mklocale/iso_8859_1
@@ -0,0 +1,37 @@
+# @(#)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>
OpenPOWER on IntegriCloud