Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123213 - media-video/mplayer-1.0.20060217 has problems with german umlauts
Summary: media-video/mplayer-1.0.20060217 has problems with german umlauts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 131950 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-17 18:36 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2006-07-17 03:55 UTC (History)
5 users (show)

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


Attachments
mplayer-1.0_pre7-r1_with_working_umlauts.jpg (mplayer-1.0_pre7-r1_with_working_umlauts.jpg,15.12 KB, image/jpeg)
2006-02-17 18:40 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
mplayer-1.0.20060217_without_working_umlauts.jpg (mplayer-1.0.20060217_without_working_umlauts.jpg,11.33 KB, image/jpeg)
2006-02-17 18:50 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
Possible fix (msgconv2.diff,4.49 KB, patch)
2006-03-05 12:30 UTC, Reimar Döffinger
Details | Diff
mplayer-1.0_pre8-r1_ebuild.patch (mplayer-1.0_pre8-r1_ebuild.patch,403 bytes, patch)
2006-07-12 07:10 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-02-17 18:36:15 UTC
Hi,

mplayer-1.0.20060217 doesn't show any german umlauts on my system. All text is cut at the point where the first umlaut should appear. When I run gmplayer in a console I get these errormessages:

> gmplayer
MPlayer dev-CVS-060217-11:46-3.4.5 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin (Family: 15, Stepping: 7)
MMX2 supported but disabled
SSE2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Kompiliert f
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-02-17 18:36:15 UTC
Hi,

mplayer-1.0.20060217 doesn't show any german umlauts on my system. All text is cut at the point where the first umlaut should appear. When I run gmplayer in a console I get these errormessages:

> gmplayer
MPlayer dev-CVS-060217-11:46-3.4.5 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin (Family: 15, Stepping: 7)
MMX2 supported but disabled
SSE2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Kompiliert für x86 CPU mit folgenden Erweiterungen: MMX SSE




91 Audio- & 206 Videocodecs

(<unknown>:1796): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(<unknown>:1796): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(<unknown>:1796): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(<unknown>:1796): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(<unknown>:1796): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(<unknown>:1796): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(<unknown>:1796): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(<unknown>:1796): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

I don't use UTF-8 but de_DE@euro as shown by locale:

> locale
LANG=de_DE@euro
LC_CTYPE="de_DE@euro"
LC_NUMERIC="de_DE@euro"
LC_TIME="de_DE@euro"
LC_COLLATE="de_DE@euro"
LC_MONETARY="de_DE@euro"
LC_MESSAGES="de_DE@euro"
LC_PAPER="de_DE@euro"
LC_NAME="de_DE@euro"
LC_ADDRESS="de_DE@euro"
LC_TELEPHONE="de_DE@euro"
LC_MEASUREMENT="de_DE@euro"
LC_IDENTIFICATION="de_DE@euro"
LC_ALL=de_DE@euro

I will attach two screenshots to show the problem...

Cheers
Polynomial-C

P.S.: my emerge --info:

# emerge --info
Portage 2.1_pre4-r1 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14.2-mh2 i686)
=================================================================
System uname: 2.6.14.2-mh2 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fexpensive-optimizations -frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gnome /etc/gnome-vfs-2.0 /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fexpensive-optimizations -frename-registers -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdparanoia cdr crypt cups dvd dvdr dvdread eds emboss encode flac foomaticdb gdbm gif gstreamer gtk gtk2 imlib jpeg kde libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pcmcia pdflib perl png pnp python qt quicktime readline samba sdl slang smime spell sse ssl svg tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs wmf xml xml2 xmms xprint xv xvid zlib elibc_glibc input_devices_synaptics kernel_linux linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-02-17 18:40:32 UTC
Created attachment 80047 [details]
mplayer-1.0_pre7-r1_with_working_umlauts.jpg
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-02-17 18:50:22 UTC
Created attachment 80048 [details]
mplayer-1.0.20060217_without_working_umlauts.jpg

P.S.:
# grep mplayer /etc/portage/package.use
media-video/mplayer -3dnowext arts cdparanoia rtc sse mmx
Comment 4 radfoj 2006-02-18 04:32:11 UTC
Hi, I have same problem with czech language in new mplayer, after it was ported to GTK2. I asked at mplayer mailing list some time ago:

http://thread.gmane.org/gmane.comp.video.mplayer.user/41196

Although dont understand it much, it seems that unicode systems shouldnt have this problems. I am still with locale LANG=cs_CZ and dont want switch to UTF. Some workaround would be great.
Comment 5 radfoj 2006-02-18 04:33:53 UTC
(In reply to comment #3)

I am sorry, I forget add emerge info:

Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-ck1 i686)
=================================================================
System uname: 2.6.15-ck1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
DISTDIR="/mnt/mandrake/opt/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="cs_CZ"
LDFLAGS="-Wl,-O1"
LINGUAS="cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.gentoo.sk/gentoo-portage"
USE="x86 3dnow X aac acpi alsa apache2 asf audiofile avi bash-completion berkdb bitmap-fonts bmp bzip2 cairo cdparanoia cdr crypt cups curl dbus dts dvd dvdread emboss encode exif expat ffmpeg firefox flac flash foomaticdb fortran ftp gd gdbm gif glut gmp gpm gstreamer gtk hal iconv icq idn imagemagick imlib jabber java jpeg kde kdeenablefinal lcms libg++ libwww mad maildir mbox mikmod mime mmx mng motif moznoirc moznomail mozsvg mp3 mpeg msn mysql nas ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl php pic png python qt quicktime readline recode ruby sdl slang sndfile speex spell ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts usb vorbis win32codecs xine xml xml2 xosd xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_cs userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL

[ebuild   R   ] media-video/mplayer-1.0.20060217  USE="3dnow 3dnowext X aac alsa cdparanoia dts dvb dvd dvdread encode gif gtk jpeg live mad matroska mmx mmxext nas nls nvidia oss png real sdl theora truetype vorbis win32codecs xv xvid -3dfx -aalib -arts -bidi -bindist -bl -cpudetection -custom-cflags -debug -dga -directfb -doc -dv -edl -esd -fbcon -ggi -i8x0 -ipv6 -jack -joystick -libcaca -lirc -livecd -lzo -matrox -musepack -opengl -rtc -samba -sse -sse2 -svga -tga -v4l -v4l2 -xanim -xinerama -xmms -xvmc" 0 kB
Comment 6 Maciej Zieba 2006-02-19 08:44:05 UTC
Hi :)

Polish doesn't work either, though my system is UTF-8:



Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -msse3 -pipe -O3 -fweb -frename-registers -fforce-addr -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -msse3 -pipe -O3 -fweb -frename-registers -fforce-addr -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d a52 aac aalib acpi alsa apache apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr crypt dga directfb dri dts dvd dvdr dvdread eds encode exif fbcon ffmpeg flac ftp gd gdbm ggi gif glut gpm gstreamer gtk gtk2 hal iconv imagemagick imlib ipv6 java javascript joystick jpeg kde kdeenablefinal lcms ldap libcaca libedit libg++ libwww lm_sensors mad matroska mikmod mime mmx mng mozilla mp3 mpeg ncurses nls nptl nsplugin nvidia ogg oggvorbis openal opengl pam pcre pdflib perl php png posix python qt quicktime readline samba sasl sdl slang sndfile speex spell sqlite sse ssl svg svga tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts unicode vcd verbose vorbis win32codecs wmf wxwindows xine xml xml2 xpm xv xvid zlib elibc_glibc kernel_linux linguas_pl userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
Comment 7 Maciej Zieba 2006-02-20 12:39:09 UTC
Hi :)

I was suggested a workaround to this problem by m_jay (who is not registered to bugzilla). As it turns out the message files in CVS source haven't yet been converted to utf8 so for example Polish messages in help/help_mp-pl.h are still written in iso8859-2.

You can get around this by decompressing the source, converting your language file to utf8 encoding (for example with iconv) and either compiling the source code by hand or compressing the source again and re-digesting the ebuild (ebuil bla.build digest)

I've checked - this works... :) Maybe this information should be passed upstream to mplayer developers?

Regards,
Maciej Zieba
Comment 8 Reimar Döffinger 2006-02-21 03:37:42 UTC
Still working on it, please see
http://thread.gmane.org/gmane.comp.video.mplayer.devel/32098
and somewhere in
http://thread.gmane.org/gmane.comp.video.mplayer.devel/32062
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-03-03 07:29:27 UTC
same problem with mplayer-1.0.20060302
Comment 10 Leonardo Ferreira Fontenelle 2006-03-05 09:04:12 UTC
Same problem in a pt_BR with ISO 8859-1 encoding. Text gets cropped at the non-ASCII character.


[ebuild   R   ] media-video/mplayer-1.0.20060217  USE="3dnow X aac alsa dts dvd dvdread encode gif gtk jpeg mad mmx nas nls opengl oss png real samba sdl sse theora truetype vorbis win32codecs xv xvmc -3dfx -3dnowext -aalib -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dv -dvb -edl -esd -fbcon -ggi -i8x0 -ipv6 -jack -joystick -libcaca -lirc -live -livecd -lzo -matroska -matrox -mmxext -musepack -nvidia -rtc -sse2 -svga -tga -v4l -v4l2 -xanim -xinerama -xmms -xvid" 0 kB


[ebuild   R   ] x11-base/xorg-x11-7.0-r1  USE="-3dfx" INPUT_DEVICES="keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="via -apm -ark -ati -chips -cirrus -cyrix -dummy -fbdev -fglrx -glint -i128 -i740 -i810 -imstt -mga -neomagic -newport -nsc -nv -nvidia -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vesa -vga -vmware -voodoo" 0 kB


[ebuild   R   ] x11-libs/gtk+-2.8.8  USE="jpeg tiff -debug -doc" 0 kB


Portage 2.1_pre5-r4 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Sempron(tm)   2400+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.etf.bg.ac.yu/gentoo http://gentoo.ynet.sk/pub http://gentoo.ngi.it http://gentoo.zie.pg.gda.pl http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pt_BR"
LC_ALL="pt_BR"
LINGUAS="pt_BR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa avi bash-completion berkdb bitmap-fonts bluetooth cdr crypt dbus dri dts dvd dvdr emboss encode fam foomaticdb fortran gdbm gif glitz gnome gnutls gpm gstreamer gtk gtk2 hal howl imlib java javascript jpeg kde kdeenablefinal kdexdeltas libg++ libwww lm_sensors mad mikmod mmx motif mp3 mpeg nas ncurses nls nsplugin ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts usb vcd vorbis win32codecs xml2 xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pt_BR userland_GNU video_cards_via"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
Comment 11 Attila Stehr 2006-03-05 11:57:11 UTC
same here

Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4-vanilla, glibc-2.3.5-r2, 2.6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox severe sfperms strict test"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi alsa amd64 artworkextra asf audiofile avi berkdb bitmap-fonts bzip2 bzlib cairo cdda cdio cdr crypt css cups curl dbus dga directfb dlloader dmalloc dnd dpms dts dvd dvdr dvdread dvi eds emacs emboss encode esd exif expat fam fame fat fbcon ffmpeg firefox foomaticdb freetype gcj gdbm ggi gif gimpprint glut gmp gnome gpm gs gstreamer gtk gtk2 gtkhtml hal hardened howl hpn idn imagemagick imlib ipv6 ithreads javascript jpeg jpeg2k kde lcms libsamplerate libwww linuxthreads-tls lzo lzw lzw-tiff matroska mbox memlimit milter mjpeg mmap mng mozcalendar mozdevelop mozsvg mp3 mpeg mpi nautilus ncurses nls nptl nptlonly ntfs nvidia offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pcre pdflib perl png ppds python qt quicktime readline real reiserfs rle sasl sdl slang sndfile spell ssl stream svg symlink tcltk tcpd test tetex tga theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd videos vorbis wmf xine xml xml2 xmms xosd xpm xprint xtermtoolbar xv xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Comment 12 Reimar Döffinger 2006-03-05 12:30:59 UTC
Created attachment 81440 [details, diff]
Possible fix

Please, no more "me too" messages *g*.
I will apply the patch I attached now and linked to in Comment #7 to MPlayer CVS in a few days.
I would be grateful for anyone testing it before.
Comment 13 Robert Muchacki (RETIRED) gentoo-dev 2006-03-05 13:19:37 UTC
Me too :P

Just kidding.

I've tested the patch and it seems to work fine for my Polish locale.
Comment 14 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-03-06 06:20:32 UTC
(In reply to comment #11)
Yes, this patch solves the problem for me, too. Now all umlauts are shown again.

Poly
Comment 15 Reimar Döffinger 2006-03-08 07:27:20 UTC
Patch applied, so fixed in MPlayer CVS.
Comment 16 Luca Barbato gentoo-dev 2006-03-14 02:19:25 UTC
I will update the snapshot soon
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2006-05-01 13:02:37 UTC
*** Bug 131950 has been marked as a duplicate of this bug. ***
Comment 18 Quosek 2006-05-01 13:57:32 UTC
(In reply to comment #15)
> I will update the snapshot soon
> 

I've got the nevest mplayer (mplayer-1.0.20060415) and the gui labels are ok, but filesystem is shown still wrong (when you try to navigate through file system you don't see polish letters and everything what is after them)
Comment 19 Reimar Döffinger 2006-07-10 11:57:09 UTC
What encoding do you use for your file system? The current decision is that UTF8 is the only really sane choice and we won't support anything else. Building MPlayer with the old GTK1 interface should be a workaround for all other cases though.
Comment 20 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-07-12 07:10:35 UTC
Created attachment 91563 [details, diff]
mplayer-1.0_pre8-r1_ebuild.patch

*sigh*

mplayer-1.0_pre8 worked so nice when I first installed it. I had no more problems with german umlauts etc...
Now with mplayer-1.0_pre8-r1 the umlauts are gone again and are replaced by questionmarks :-(
I don't like it to be forced to use UTF-8 to get the umlauts back. And I don't wanna go back to gtk+-1.x for gmplayer as well...
For all brave souls out there that still wanna have umlauts without UTF-8 but with gtk+-2.x, here is a patch for mplayer-1.0_pre8-r1 to get them back.

Cheers
Poly-C
Comment 21 Reimar Döffinger 2006-07-12 11:29:16 UTC
The whole block should go, --charset=UTF-8 is the default anyway except when compiling the GTK1.x Gui, which is a only partially supported legacy configuration.
Esp. in the future (but in the case of OSD even now), MPlayer will only work reliably with UTF-8 as internal encoding, so changing --charset is not a good idea (though I admit you may have to change it if you want to get along without iconv).
Comment 22 Luca Barbato gentoo-dev 2006-07-14 05:42:25 UTC
the "patch" is invalid, try enabling enca in the -r1 (since it could solve your problem)

unicode now is used to decide if you want iconv or not.


Comment 23 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-07-14 05:57:11 UTC
I already tried enca useflag with no satisfying result. The umlauts still were replaced by questionmarks.
So for me the patch is NOT invalid and I will continue using it as this is the only way to keep german umlauts in mplayer (at least in the menus of gmplayer).
Comment 24 Attila Stehr 2006-07-14 18:25:52 UTC
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"

in my make.conf solves the problem (as expected).
Comment 25 Luca Barbato gentoo-dev 2006-07-16 13:59:33 UTC
Lars I splitted unicode and iconv support, now you should get the expected behaviour as well people using unicode+iconv.
Comment 26 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-07-17 03:55:31 UTC
Thanks,

now it works after seting iconv useflag.

Cheers
Poly-C