Bug#981510: marked as done (reportbug: Wrongly detected character set UTF-8 instead of ASCII)
Your message dated Tue, 2 Feb 2021 22:13:34 +0100
with message-id <5c9f4f17-18b9-bf7d-ac08-787af25377a4@mailbox.org>
and subject line Re: Bug#981510: reportbug: Wrongly detected character set UTF-8 instead of ASCII
has caused the Debian Bug report #981510,
regarding reportbug: Wrongly detected character set UTF-8 instead of ASCII
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
981510: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981510
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: reportbug: Wrongly detected character set UTF-8 instead of ASCII
- From: Detlef Vollmann <dv@vollmann.ch>
- Date: Sun, 31 Jan 2021 23:24:05 +0100
- Message-id: <161213184597.11573.14210433973160756876.reportbug@caret.vollmann.ch>
Package: reportbug
Version: 7.9.0
Severity: normal
X-Debbugs-Cc: dv@vollmann.ch
Dear Maintainer,
* What led up to the situation?
I'm using the POSIX locale, which uses the ASCII character set,
but reportbug detects the character set as 'UTF-8'.
-- Package-specific info:
** Environment settings:
EDITOR="vi"
PAGER="less"
VISUAL="vi"
INTERFACE="text"
** /home/dv/.reportbugrc:
reportbug_version "7.9.0"
mode standard
ui text
email "dv@vollmann.ch"
no-cc
list-cc-me
smtphost reportbug.debian.org
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-2-amd64 (SMP w/4 CPU threads)
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 reportbug depends on:
ii apt 2.1.18
ii python3 3.9.1-1
ii python3-reportbug 7.9.0
ii sensible-utils 0.0.14
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
pn debsums <none>
pn default-mta | postfix | exim4 | mail-transport-agent <none>
pn dlocate <none>
ii emacs-bin-common 1:27.1+1-3
ii file 1:5.39-3
ii gnupg 2.2.20-1
pn python3-urwid <none>
pn reportbug-gtk <none>
ii xdg-utils 1.1.3-4
Versions of packages python3-reportbug depends on:
ii apt 2.1.18
ii file 1:5.39-3
ii python3 3.9.1-1
ii python3-apt 2.1.7
ii python3-debian 0.1.39
ii python3-debianbts 3.1.0
ii python3-requests 2.25.1+dfsg-2
ii sensible-utils 0.0.14
python3-reportbug suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: Detlef Vollmann <dv@vollmann.ch>, 981510-done@bugs.debian.org, Sandro Tosi <morph@debian.org>
- Subject: Re: Bug#981510: reportbug: Wrongly detected character set UTF-8 instead of ASCII
- From: Nis Martensen <nis.martensen@mailbox.org>
- Date: Tue, 2 Feb 2021 22:13:34 +0100
- Message-id: <5c9f4f17-18b9-bf7d-ac08-787af25377a4@mailbox.org>
- In-reply-to: <61d23b6c-2983-0efb-056d-4e3dcd94a413@vollmann.ch>
- References: <161213184597.11573.14210433973160756876.reportbug@caret.vollmann.ch> <CAB4XWXzxM24CCBUR6RPM070xAw53_49qJq4WEJ7CXEPMGxUH2w@mail.gmail.com> <161213184597.11573.14210433973160756876.reportbug@caret.vollmann.ch> <61d23b6c-2983-0efb-056d-4e3dcd94a413@vollmann.ch>
On 01.02.2021 00.20, Detlef Vollmann wrote:
>>> I'm using the POSIX locale, which uses the ASCII character set,
>>> but reportbug detects the character set as 'UTF-8'.
This is not a bug in reportbug, because it can only report what the
python libraries it is using are returning. I'm closing the bug since
there is nothing we can do about it.
$ LANG=POSIX
$ python3
Python 3.7.3 (default, Jul 25 2020, 13:03:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.environ.get('LC_CTYPE')
'C.UTF-8'
>>>
$ locale
LANG=POSIX
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
$
--- End Message ---
Reply to: