Bug 1088418 - LC_ALL=C systemd-delta prints escaped unicode characters ('→')
Summary: LC_ALL=C systemd-delta prints escaped unicode characters ('→')
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 20
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1088419
TreeView+ depends on / blocked
 
Reported: 2014-04-16 15:33 UTC by Bryn M. Reeves
Modified: 2014-06-28 16:00 UTC (History)
8 users (show)

Fixed In Version: systemd-208-19.fc20.x86_64
Clone Of:
: 1088419 (view as bug list)
Environment:
Last Closed: 2014-06-28 16:00:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bryn M. Reeves 2014-04-16 15:33:00 UTC
Description of problem:
# LC_ALL=C systemd-delta 
[REDIRECTED]   /etc/systemd/system/default.target <E2><86><92> /usr/lib/systemd/system/default.target
[EXTENDED]   /run/systemd/system/session-1.scope <E2><86><92> /run/systemd/system/session-1.scope.d/90-SendSIGHUP.conf
[EXTENDED]   /run/systemd/system/session-1.scope <E2><86><92> /run/systemd/system/session-1.scope.d/90-TimeoutStopUSec.conf
[EXTENDED]   /run/systemd/system/session-1.scope <E2><86><92> /run/systemd/system/session-1.scope.d/90-KillMode.conf
[EXTENDED]   /run/systemd/system/session-1.scope <E2><86><92> /run/systemd/system/session-1.scope.d/90-After-systemd-user-sessions\x2eservice.conf
[EXTENDED]   /run/systemd/system/session-1.scope <E2><86><92> /run/systemd/system/session-1.scope.d/90-Description.conf
[EXTENDED]   /run/systemd/system/session-1.scope <E2><86><92> /run/systemd/system/session-1.scope.d/90-Slice.conf


Version-Release number of selected component (if applicable):
systemd-208-15.fc20.x86_64

How reproducible:
100%

Steps to Reproduce:
1. LC_ALL=C systemd-delta

Actual results:
Escaped unicode is sent to the terminal

Expected results:
Either only use ASCII characters (e.g. '->') or detect when the locale does not support unicode and do not emit non-ASCII characters in that case.

Additional info:

Comment 1 Zbigniew Jędrzejewski-Szmek 2014-04-17 03:34:42 UTC
Patched upstream in http://cgit.freedesktop.org/systemd/systemd/commit/?id=00a5cc3.

Comment 2 Fedora Update System 2014-06-19 13:19:23 UTC
systemd-208-18.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/systemd-208-18.fc20

Comment 3 Fedora Update System 2014-06-19 22:56:06 UTC
Package systemd-208-18.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-208-18.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7512/systemd-208-18.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-06-22 23:55:27 UTC
Package systemd-208-19.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-208-19.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7512/systemd-208-19.fc20
then log in and leave karma (feedback).


Note You need to log in before you can comment on or make changes to this bug.