[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmms-devel
Subject:    Re: [xmms-devel] xmms and utf-8 locale
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2004-12-10 11:30:27
Message-ID: 20041210113027.GB4278 () morpheus ! matrix ! de
[Download RAW message or body]

On 09.Dec 2004 - 23:30:12, Ben Winslow wrote:
> On Fri, 2004-12-10 at 03:44 +0100, Andreas Pakulat wrote:
> > Hi,
> > 
> > I've found the patches in the BTS regarding better support of
> > latin1-id3-tags in utf locale (0050_all_libxmms-charset,
> > 2012_all_mpg123-id3convert, 2013_all_mpg123-latin-id3,
> > 2014_all_mpg123-encode-override) and applied them in this order to
> > fresh CVS-xmms. Compiled fine, but when I execute xmms I still have
> > no UTF-8 encoded titles when the id3 tag is latin1. Are there any
> > other patches I need to get this working? 
> 
> You need to have your locale set to UTF-8,

andreas@morpheus:~>locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=
andreas@morpheus:~>

> enable fontsets,

andreas@morpheus:~>grep fontset .xmms/config
use_fontsets=TRUE
andreas@morpheus:~>

> and select a
> font in the iso10646-1 charset for xmms (well, GTK) to use the UTF-8
> encoding.

andreas@morpheus:~>grep font .xmms/config
playlist_font=-monotype-arial-bold-r-normal-*-*-80-*-*-p-*-iso10646-1
mainwin_font=-monotype-arial-bold-r-normal-*-*-80-*-*-p-*-iso10646-1

So everything should be fine, but it doesn't work. UTF-8 encoded id3
Tags are correctly displayed, latin1 encoded are missing the german
umlauts :-(

But I found a workaround that even works with the Debian version of
xmms (1.2.10-1.4): I disabled fontsets and set the fond back to
iso8859, now I can see german umlauts in latin1 encoded id3tags even
if xmms is started in utf-8 locale. This is not perfect, but I do not
need to look for a new player :-)

Andreas

-- 
You will engage in a profitable business activity.
_______________________________________________
xmms-devel mailing list
xmms-devel@lists.xmms.org
http://lists.xmms.org/mailman/listinfo/xmms-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic