I18N:glossary/txt-to-pot.sh: hardcode UTF-8

Before msginit --no-translator -ltr had set ASCII
for a language with accents!
This commit is contained in:
Frank H. Ellenberger 2021-02-09 01:57:52 +01:00
parent c9912b1858
commit ff4d04e6f4

View File

@ -23,7 +23,7 @@ then
exit 1; exit 1;
fi fi
# Note: Line 2, 3, 9: PROJECT and probably a few other variables are hardcoded # Note: Line 2, 3, 9, 18: PROJECT, CHARSET and probably a few other variables are hardcoded
cat <<! cat <<!
# SOME DESCRIPTIVE TITLE. (Glossary) # SOME DESCRIPTIVE TITLE. (Glossary)
# This file is distributed under the same license as the GnuCash package. # This file is distributed under the same license as the GnuCash package.
@ -42,7 +42,7 @@ msgstr ""
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n" "Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"