Bug 922362 - Watch breaks non-ascii output
Summary: Watch breaks non-ascii output
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: procps-ng
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaromír Cápík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-16 12:51 UTC by D.S. Ljungmark
Modified: 2016-02-01 01:58 UTC (History)
3 users (show)

Fixed In Version: procps-ng-3.3.3-6.20120807git.fc18
Clone Of:
Environment:
Last Closed: 2013-07-26 00:31:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description D.S. Ljungmark 2013-03-16 12:51:33 UTC
Description of problem:
watch appears to remove non-ascii letters from output:

[spider@Waves]~% locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=sv_SE.utf8
LC_TIME=sv_SE.utf8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=sv_SE.utf8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=sv_SE.utf8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

$ date
lör mar 16 13:46:45 CET 2013
$ watch date
Every 2,0s: date                                        Sat Mar 16 13:49:19 2013

lr mar 16 13:49:19 CET 2013




Version-Release number of selected component (if applicable):
procps-ng-3.3.3-3.20120807git.fc18.x86_64


How reproducible:
set locale to something where a day has non-english letters in them.
alternatively:
[spider@Waves]~% echo Smörgåsgurka 
Smörgåsgurka
[spider@Waves]~% watch 'echo Smörgåsgurka  '

Every 2,0s: echo SmM-CM-6rgM-CM-%sgurka                 Sat Mar 16 13:50:41 2013

Smrgsgurka


  
Actual results:
Disappearing letters, both in files, paths and dates.

Expected results:
Unicode output. We're in a post ascii world, after all.


Additional info:

Comment 1 Jaromír Cápík 2013-06-27 12:43:43 UTC
Hello Spider.

Could you please download the latest RPM from the following link and test if that solves your issue?

http://koji.fedoraproject.org/koji/taskinfo?taskID=5550165

Thanks in advance.

Regards,
Jaromir.

Comment 2 D.S. Ljungmark 2013-06-28 07:30:25 UTC
Tested, and this now works. Resolved for me.

Comment 3 Fedora Update System 2013-06-28 14:50:50 UTC
procps-ng-3.3.3-6.20120807git.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/procps-ng-3.3.3-6.20120807git.fc18

Comment 4 Fedora Update System 2013-07-01 01:28:55 UTC
Package procps-ng-3.3.3-6.20120807git.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing procps-ng-3.3.3-6.20120807git.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-11959/procps-ng-3.3.3-6.20120807git.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-07-26 00:31:04 UTC
procps-ng-3.3.3-6.20120807git.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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