summaryrefslogtreecommitdiffstats
path: root/usr.bin/mklocale
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2008-01-22 00:04:50 +0000
committerache <ache@FreeBSD.org>2008-01-22 00:04:50 +0000
commit0f0fc0acb43e400ef469ea2852ce54d9313aa528 (patch)
tree0949792c047e1c0c92c3606aca450d5ff350f91e /usr.bin/mklocale
parent112365304a8f129aaaeda38562a4a6ffc32f6abe (diff)
downloadFreeBSD-src-0f0fc0acb43e400ef469ea2852ce54d9313aa528.zip
FreeBSD-src-0f0fc0acb43e400ef469ea2852ce54d9313aa528.tar.gz
Understand newly introduced "ASCII" encoding
Diffstat (limited to 'usr.bin/mklocale')
-rw-r--r--usr.bin/mklocale/mklocale.12
-rw-r--r--usr.bin/mklocale/yacc.y1
2 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/mklocale/mklocale.1 b/usr.bin/mklocale/mklocale.1
index 249249c..ab245e0 100644
--- a/usr.bin/mklocale/mklocale.1
+++ b/usr.bin/mklocale/mklocale.1
@@ -140,6 +140,8 @@ Followed by a
which indicates the encoding mechanism to be used for this locale.
The current encodings are:
.Bl -tag -width ".Dv MSKanji"
+.It Dv ASCII
+American Standard Code for Information Interchange.
.It Dv BIG5
The
.Dq Big5
diff --git a/usr.bin/mklocale/yacc.y b/usr.bin/mklocale/yacc.y
index 899b186..4024f67 100644
--- a/usr.bin/mklocale/yacc.y
+++ b/usr.bin/mklocale/yacc.y
@@ -118,6 +118,7 @@ table : entry
entry : ENCODING STRING
{ if (strcmp($2, "NONE") &&
+ strcmp($2, "ASCII") &&
strcmp($2, "UTF-8") &&
strcmp($2, "EUC") &&
strcmp($2, "GBK") &&
OpenPOWER on IntegriCloud