Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228195 - media-sound/herrie USE="unicode" not working properly
Summary: media-sound/herrie USE="unicode" not working properly
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robert Buchholz (RETIRED)
URL: http://herrie.info
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 22:08 UTC by Matija "hook" Šuklje
Modified: 2008-08-31 17:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
herrie-unicode.png (herrie-unicode.png,20.26 KB, image/png)
2008-06-27 14:33 UTC, Robert Buchholz (RETIRED)
Details
"ls" output in urxvt (ls.png,7.04 KB, image/png)
2008-07-13 11:46 UTC, Snupt
Details
herrie with UTF-8 problem (herrie.png,6.34 KB, image/png)
2008-07-13 12:05 UTC, Snupt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matija "hook" Šuklje 2008-06-18 22:08:35 UTC
Unicode support in 'herrie' seems to be broken — it doesn't show some the character correctly (e.g. 'č' and '—').

It is not an 'ncurses' problem, because 'mc' works normal on same directories and files.

Steps of reproduction:
1) have USE="unicode" in '/etc/make.conf'
2) 'emerge ncruses' (with unicode support)
3) 'emerge herrie' (with unicode support)
4) run 'herrie' and browse in it to a directory that holds folders and/or files with non-ASCII characters
5) see funky characters where you would expect some nice unicode magic

Reproducable: always (so it seems)
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-18 22:51:37 UTC
Which version do we speak about?
Comment 2 Matija "hook" Šuklje 2008-06-18 23:07:34 UTC
Latest stable AMD64 — i.e. 2.0.2

I'll test the previous versions in a sec.
Comment 3 Matija "hook" Šuklje 2008-06-18 23:13:10 UTC
I get the same error on 2.0 and 1.8.3.

emerge --info:

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 AMD Turion(tm) 64 Mobile Technology ML-30
Timestamp of tree: Wed, 18 Jun 2008 16:35:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -pipe -O2"
DISTDIR="/mnt/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="sl_SI.utf8"
LC_ALL="sl_SI.utf8"
LINGUAS="sl"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit S3TC X a52 aac aalib acpi addbookmarks agg aim alias allegro alsa amarok amd64 amr ao ares avahi bash-completion bidi binfilter bjam blender-game boost bzip2 cairo cal3d calendar caps cardbus ccache cddb cdparanoia cdr cjk clisp clucene colordiff connectionstatus contactnotes context cracklib crypt css cups cvs d dar64 dbus devil dhcp divx djvu dri dv dvb dvd dvdr dvdread dvi encode exif exiv2 expat extra fam fasttrack fat ffmpeg firefox flac fluidsynth fmod foomaticdb fortran gcj geoip gif gimp gimpprint glibc-omitfp glitz glut gnutella gphoto2 gpm gps graphics gs gstreamer gzip h323 hal hddtemp hdri highlight history http humanities iconv icq icu ieee1394 ilbc imlib inotify ipod ipv6 irda iso14755 jabber javascript jikes jpeg kde kdepim kdexdeltas kexi kipi kpathsea lcms levels libcaca lirc live logrotate lzma mad maps matroska mdnsresponder-compat midi mikmod mime mixer mmap mmx mmxext mng motif mp3 mp4 mpeg msn mudflap musepack music musicbrainz ncurses nls nowin nowlistening npp nptl nptlonly nsplugin ode offensive ogg openal openft opengl openmp openssh openstreetmap openvpn oscar pam pcmcia pcre pdf perl plotutils png portaudio postscript ppds print python qmax qt3 qt3support qt4 quicktime readline reiserfs remix rtc savedconfig scanner sdl sdlaudio slang sndfile snmp sounds soundtouch soup speex spell sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification statistics subtitles subversion svg svgz texteffect textures themes theora threads tidy tiff timidity tordns truetype ucs2 unicode upnp usb userlocales v4l v4l2 vcd videos vim vim-pager vim-syntax visualization voice vorbis webpresence wifi xattr xcb xcomposite xetex xface xft xine xiph xml xorg xosd xpm xrandr xv xvid xvmc yahoo zlib zrtp zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sl" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Robert Buchholz (RETIRED) gentoo-dev 2008-06-25 23:28:06 UTC
We are talking about unicode in filenames, not in file tags here?
Comment 5 Matija "hook" Šuklje 2008-06-25 23:56:41 UTC
(In reply to comment #4)
> We are talking about unicode in filenames, not in file tags here?
> 

Now that you mention it, I've tested it and it's both the filenames and the tags.
Comment 6 Robert Buchholz (RETIRED) gentoo-dev 2008-06-27 14:33:22 UTC
Created attachment 158655 [details]
herrie-unicode.png

I would assume output of "ls" on the same terminal works with the filename? Does it happen for all characters, or only for some? Do you have an example filename to test, and a screenshot?

As an example, I'll attach what my herrie shows for a file called ????-??????-üäb.??????.wav
Comment 7 Snupt 2008-07-13 09:32:01 UTC
I have this problem too
Comment 8 Robert Buchholz (RETIRED) gentoo-dev 2008-07-13 10:50:43 UTC
(In reply to comment #7)
> I have this problem too

Can you please answer the questions in comment 6?

Comment 9 Snupt 2008-07-13 11:46:30 UTC
Created attachment 160260 [details]
"ls" output in urxvt
Comment 10 Snupt 2008-07-13 12:05:45 UTC
Created attachment 160262 [details]
herrie with UTF-8 problem
Comment 11 Snupt 2008-07-13 12:06:28 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > I have this problem too
> 
> Can you please answer the questions in comment 6?
> 

> I would assume output of "ls" on the same terminal works with the filename?
Yes, in terminals such as urxvt and xterm "ls" and other software (moc, mc, mpc) works normally. (screenshot see above)

> Does it happen for all characters, or only for some? Do you have an example
> filename to test, and a screenshot?
For all characters. (screenshot see above)
Comment 12 Snupt 2008-07-13 15:10:27 UTC
Fixed!

USE="nls" emerge herrie
Comment 13 Robert Buchholz (RETIRED) gentoo-dev 2008-08-31 17:17:37 UTC
rbu@peanut ~ $ quse -D nls
 global:nls: Adds Native Language Support (using gettext - GNU locale utilities)