Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#8956 - [htop] package + utf8

Attached to Project: Arch Linux
Opened by Sergej Pupykin (sergej) - Monday, 17 December 2007, 22:26 GMT
Last edited by Ionut Biru (wonder) - Thursday, 20 January 2011, 22:11 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Dan Griffiths (Ghost1227)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

please add htop unicode patch

http://sourceforge.net/tracker/index.php?func=detail&aid=1852696&group_id=108839&atid=651635

with this patch htop correctly displays non-ascii symbols in process' cmdline.

(I post it to htop author, may be he apply it by himself)
This task depends upon

Closed by  Ionut Biru (wonder)
Thursday, 20 January 2011, 22:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  htop-0.9
Comment by Damir Perisa (damir.perisa) - Sunday, 06 January 2008, 12:16 GMT
htop 0.7-2, test it
Comment by Sergej Pupykin (sergej) - Sunday, 06 January 2008, 23:49 GMT
thanks
Comment by Johan R (cleanrock) - Thursday, 21 October 2010, 12:27 GMT
htop 0.8.3-1 dont display command with non-ascii symbols in process cmdline.
Comment by Sergej Pupykin (sergej) - Thursday, 21 October 2010, 12:33 GMT
It is not completely true.

For example I can not see cyrillic in en_US.UTF-8 locale, however htop displays it if locale is ru_RU.UTF-8.
Comment by utilitytrack (utilitytrack) - Saturday, 18 December 2010, 01:03 GMT
@Sergej Pupykin (sergej)

You are right when you remind about properly configured locales and (sic!) environment variables
(in $HOME/.bashrc) when working with htop.

I can say about newer htop 0.9 (custom build with --enable-unicode). The program does support Unicode
chars very well. In my case I tested it with Cyrillic symbols. My locale environment is (Debian GNU/Linux testing):

$ locale
LANG=ru_RU.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=ru_RU.UTF-8

So, in this mixed environment I never got any problems with htop and non-ASCII characters.

Thanks
Comment by Greg (dolby) - Saturday, 18 December 2010, 01:27 GMT
Please open an upstream report.
Comment by Sergej Pupykin (sergej) - Thursday, 20 January 2011, 22:03 GMT
htop-0.9 works fine for me in any *.UTF-8 locale

Loading...