[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master fa56075: * admin/charsets/mapconv (LC_ALL): Set to
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master fa56075: * admin/charsets/mapconv (LC_ALL): Set to C. |
Date: |
Fri, 22 May 2015 23:16:12 +0000 |
branch: master
commit fa560755d533889bd95dc7475937f93dc58e9191
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
* admin/charsets/mapconv (LC_ALL): Set to C.
---
admin/charsets/mapconv | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/admin/charsets/mapconv b/admin/charsets/mapconv
index 6fd13c6..245dce1 100755
--- a/admin/charsets/mapconv
+++ b/admin/charsets/mapconv
@@ -35,6 +35,11 @@
# GLIBC-1 GLIBC-2 GLIBC-2-7 CZYBORRA IANA UNICODE UNICODE2 YASUOKA
# $4: awk script
+## So that eg [A-F] as used by KANJI-DATABASE branch below works as expected.
+## Otherwise with LANG=en_US.utf8, CNS-6.map was generated with a
+## bogus entry. By experiment, LC_COLLATE=C was not enough.
+export LC_ALL=C
+
BASE=`expr "$1" : '.*/\(.*\)' '|' "$1"` # basename
FILE="admin/charsets/mapfiles/$BASE"
BASE=`expr "$BASE" : '\(.*\)\.gz$' '|' "$BASE"` # remove any .gz suffix
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master fa56075: * admin/charsets/mapconv (LC_ALL): Set to C.,
Glenn Morris <=