diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-06-27 00:34:53 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-06-27 00:36:00 +0200 |
commit | 8ff33e6b63a2fc0201c4dd3d72f3e961199d731c (patch) | |
tree | 758f8535459af7ebd5060173ba8fb5fc74cbddb0 | |
parent | ce4a13ed386978614a5ee261c8602b03db1f9ec5 (diff) | |
download | fiv-8ff33e6b63a2fc0201c4dd3d72f3e961199d731c.tar.gz fiv-8ff33e6b63a2fc0201c4dd3d72f3e961199d731c.tar.xz fiv-8ff33e6b63a2fc0201c4dd3d72f3e961199d731c.zip |
msys2-package.sh: fix iconv transliteration
LC_ALL overrides LC_CTYPE.
Even though C.UTF-8 may produce warnings, at least it works.
-rwxr-xr-x | msys2-package.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/msys2-package.sh b/msys2-package.sh index f403769..363c36a 100755 --- a/msys2-package.sh +++ b/msys2-package.sh @@ -11,7 +11,7 @@ rm -rf "$destdir" meson install --destdir "$destdir" txt2rtf() { - LC_CTYPE=C.UTF-8 iconv -f utf-8 -t ascii//translit "$@" | awk 'BEGIN { + LC_ALL=C.UTF-8 iconv -f utf-8 -t ascii//translit "$@" | awk 'BEGIN { print "{\\rtf1\\ansi\\ansicpg1252\\deff0{\\fonttbl{\\f0 Tahoma;}}" print "\\f0\\fs24{\\pard\\sa240" } { |