[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986450: locales: non-ASCII characters in debconf dialogs are broken in German locale



Control; tags -1 patch

On 2021-04-06 11:42 +0200, Sven Joachim wrote:

> Package: locales
> Version: 2.31-11
> Severity: normal
> Tags: l10n
>
> Running "dpkg-reconfigure locales" in a German locale displays broken
> non-ASCII characters, see the attached screenshot.
>
> It seems this is because of a mismatch between content and declared
> encoding in debian/po/de.po.  I will send a patch when I have the bug
> number.

The attached patch should fix the problem, although I have not tested
it.  Would be good if this bug could be fixed before the bullseye
release, as it leaves a rather bad impression of Debian on new German
users.

Cheers,
Sven

From 63e86db18f950c49c7c90cb737feb480d4934c20 Mon Sep 17 00:00:00 2001
From: Sven Joachim <svenjoac@gmx.de>
Date: Tue, 6 Apr 2021 11:47:43 +0200
Subject: [PATCH 1/1] debian/po/de.po: declare correct charset

Commit a7644d7c8f2b ("debian/po/de.po: recode to UTF-8.") changed the
encoding of the file to UTF-8, but inadvertently left the charset
at ISO-8859-15, resulting in broken debconf dialogs.

Closes: #986450
---
 debian/po/de.po | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/po/de.po b/debian/po/de.po
index 74a84c15..13b95629 100644
--- a/debian/po/de.po
+++ b/debian/po/de.po
@@ -12,7 +12,7 @@ msgstr ""
 "Language-Team: de <debian-l10n-german@lists.debian.org>\n"
 "Language: German\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"

 #. Type: multiselect
--
2.31.0


Reply to: