aboutsummaryrefslogtreecommitdiffstats
path: root/irc/iroffer-dinoex/files/patch-Lang
blob: aa213fb35d99d5f37d6e5886787ce3319318500d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -u -r1.17 Lang
--- Lang    20 Dec 2018 07:17:50 -0000  1.17
+++ Lang    29 Dec 2019 11:16:25 -0000
@@ -32,14 +32,12 @@
 then
    charset="${2}"
 else
-   # autodetect
+   charset="utf-8"
    case "${LANG}" in
-   *.ISO8859-*)
+   *.ISO8859-*|*.ISO_8859-*)
+       # autodetect
        charset="latin1"
        ;;
-   *.UTF-8*|*.utf-8*)
-       charset="utf-8"
-       ;;
    esac
 fi
 utf8="cat"