Bug#968260: libc6: breaks translations when changing the charset to ...//TRANSLIT

2020-08-13 Thread Vincent Lefevre
On 2020-08-13 15:13:18 +0200, Aurelien Jarno wrote:
> On 2020-08-12 05:13, Vincent Lefevre wrote:
> > Since the upgrade to 2.31-3, the translations are no longer working
> > in Mutt.
> > 
> > In my config, the charset gets automatically set to UTF-8//TRANSLIT
> > (possibly with something else instead of UTF-8). There is the same
> > issue with ISO-8859-1//TRANSLIT, but not with UTF-8 or ISO-8859-1.
[...]
> Thanks for the reproducer, I have been able to identify the broken
> function, I have reported the bug upstream as BZ#26383. While it is
> clearly a regression, please note that adding //TRANSLIT to the charset
> doesn't bring anything, as transliteration is always enabled for gettext
> messages.

Thanks. In case, this was not clear, I hadn't added //TRANSLIT for
gettext messages, but for general output of mail messages in the
terminal (as transliteration is not enabled by default for such
output). But it appears that the "charset" variable is used for
anything related to the terminal (which makes sense for users who
set this variable to correct the charset obtained by default from
the environment).

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Processed: Re: Bug#968260: libc6: breaks translations when changing the charset to ...//TRANSLIT

2020-08-13 Thread Debian Bug Tracking System
Processing control commands:

> forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=26383
Bug #968260 [libc6] libc6: breaks translations when changing the charset to 
...//TRANSLIT
Set Bug forwarded-to-address to 
'https://sourceware.org/bugzilla/show_bug.cgi?id=26383'.
> tag -1 + upstream
Bug #968260 [libc6] libc6: breaks translations when changing the charset to 
...//TRANSLIT
Added tag(s) upstream.

-- 
968260: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968260
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#968260: libc6: breaks translations when changing the charset to ...//TRANSLIT

2020-08-13 Thread Aurelien Jarno
control: forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=26383
control: tag -1 + upstream

On 2020-08-12 05:13, Vincent Lefevre wrote:
> Package: libc6
> Version: 2.31-3
> Severity: important
> 
> Since the upgrade to 2.31-3, the translations are no longer working
> in Mutt.
> 
> In my config, the charset gets automatically set to UTF-8//TRANSLIT
> (possibly with something else instead of UTF-8). There is the same
> issue with ISO-8859-1//TRANSLIT, but not with UTF-8 or ISO-8859-1.
> 
> Reverting to 2.31-2 solves the issue (at least with UTF-8//TRANSLIT).
> 
> I can reproduce the issue with:
> 
>   LC_MESSAGES=fr_FR /usr/bin/mutt -F muttrc foo
> 
> where the muttrc file contains:
> 
> set charset=UTF-8//TRANSLIT
> 
> or
> 
> set charset=ISO-8859-1//TRANSLIT
> 
> I get "To: foo@..." instead of "À : foo@...".

Thanks for the reproducer, I have been able to identify the broken
function, I have reported the bug upstream as BZ#26383. While it is
clearly a regression, please note that adding //TRANSLIT to the charset
doesn't bring anything, as transliteration is always enabled for gettext
messages.

Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Bug#968260: libc6: breaks translations when changing the charset to ...//TRANSLIT

2020-08-11 Thread Vincent Lefevre
Package: libc6
Version: 2.31-3
Severity: important

Since the upgrade to 2.31-3, the translations are no longer working
in Mutt.

In my config, the charset gets automatically set to UTF-8//TRANSLIT
(possibly with something else instead of UTF-8). There is the same
issue with ISO-8859-1//TRANSLIT, but not with UTF-8 or ISO-8859-1.

Reverting to 2.31-2 solves the issue (at least with UTF-8//TRANSLIT).

I can reproduce the issue with:

  LC_MESSAGES=fr_FR /usr/bin/mutt -F muttrc foo

where the muttrc file contains:

set charset=UTF-8//TRANSLIT

or

set charset=ISO-8859-1//TRANSLIT

I get "To: foo@..." instead of "À : foo@...".

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libc6 depends on:
ii  libcrypt1  1:4.4.16-1
ii  libgcc-s1  10.2.0-5

Versions of packages libc6 recommends:
ii  libidn2-0  2.3.0-1

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]  1.5.74
ii  glibc-doc  2.31-3
ii  libc-l10n  2.31-3
ii  locales2.31-3

-- debconf information:
  glibc/kernel-not-supported:
  glibc/disable-screensaver:
* glibc/restart-services: postfix cups cron atd
  glibc/kernel-too-old:
  glibc/upgrade: true
* libraries/restart-without-asking: false
  glibc/restart-failed:

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)