kdesudo double encodes the output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KdeSudo |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
$ locale
LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE=
LC_NUMERIC=
LC_TIME=ru_RU.UTF-8
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=ru_RU.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
$ kdesudo locale
LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE=
LC_NUMERIC=
LC_TIME=ru_RU.UTF-8
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=ru_RU.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
$ date
Сб. нояб. 29 12:01:26 MSK 2014
$ sudo date
[sudo] password for vic:
Сб. нояб. 29 12:01:30 MSK 2014
$ kdesudo date
Сб. ноÑб. 29 12:01:33 MSK 2014
$ kdesudo date | hexdump
0000000 90c3 9fc2 90c3 bdc2 202e 90c3 b4c2 90c3
0000010 b5c2 90c3 bac2 202e 3120 3120 3a34 3631
0000020 303a 2031 534d 204b 3032 3431 000a
000002d
$ sudo date | hexdump
0000000 9fd0 bdd0 202e b4d0 b5d0 bad0 202e 3120
0000010 3120 3a34 3631 323a 2030 534d 204b 3032
0000020 3431 000a
0000023
$ kdesudo date
Ðн. дек. 1 14:14:22 MSK 2014
$ kdesudo date | ./fix.py
Пн. дек. 1 14:14:25 MSK 2014
$ cat fix.py
#! /usr/bin/env python3
import sys
for line in sys.stdin:
sys.
More info here: https:/
kdesudo has moved to KDE infrastructure.
If you feel your bug is still relevant please open a new bug on bugs.kde.org
https:/ /bugs.kde. org/describecom ponents. cgi?product= kdesudo