From 0ae6c17b219a8171fda137a6ed44fa26e0f05535 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sat, 26 Jun 2021 20:36:53 +0200 Subject: 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. --- po/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'po') 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'] ) -- cgit v1.2.3-2-gb3c3