Bug 1088418

Summary: LC_ALL=C systemd-delta prints escaped unicode characters ('→')
Product: [Fedora] Fedora Reporter: Bryn M. Reeves <bmr>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 20CC: johannbg, lnykryn, msekleta, ohadlevy, plautrba, systemd-maint, vpavlin, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: systemd-208-19.fc20.x86_64 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1088419 (view as bug list) Environment:
Last Closed: 2014-06-28 16:00:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1088419    

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).