aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2021-06-26 20:36:53 +0200
committerWolfgang Müller2021-06-28 14:36:46 +0200
commit0ae6c17b219a8171fda137a6ed44fa26e0f05535 (patch)
treea105c0ad846be442ae2dec94c5ac3388c0a403e6
parent1f5e94449877f07117bff71b0f17291f1ec669cd (diff)
downloadweltschmerz-0ae6c17b219a8171fda137a6ed44fa26e0f05535.tar.gz
po: Specify UTF-8 for all potential input to xgettext
Since the default setting of ASCII-only could potentially bite us in the long run, make sure to have xgettext interpret files as UTF-8.
-rw-r--r--po/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/po/meson.build b/po/meson.build
index 6b02741..5cbb15b 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -5,5 +5,5 @@ add_project_arguments('-DGETTEXT_PACKAGE="weltschmerz"', language: 'c')
add_project_arguments('-DLOCALEDIR="@0@"'.format(localedir), language: 'c')
i18n.gettext(meson.project_name(),
- args: ['--directory=' + meson.source_root(), '-c TRANSLATORS']
+ args: ['--directory=' + meson.source_root(), '-c TRANSLATORS', '--from-code=UTF-8']
)