msys2-package.sh: fix iconv transliteration
LC_ALL overrides LC_CTYPE. Even though C.UTF-8 may produce warnings, at least it works.
This commit is contained in:
parent
ce4a13ed38
commit
8ff33e6b63
@ -11,7 +11,7 @@ rm -rf "$destdir"
|
|||||||
meson install --destdir "$destdir"
|
meson install --destdir "$destdir"
|
||||||
|
|
||||||
txt2rtf() {
|
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 "{\\rtf1\\ansi\\ansicpg1252\\deff0{\\fonttbl{\\f0 Tahoma;}}"
|
||||||
print "\\f0\\fs24{\\pard\\sa240"
|
print "\\f0\\fs24{\\pard\\sa240"
|
||||||
} {
|
} {
|
||||||
|
Loading…
Reference in New Issue
Block a user