Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 146662

Summary: media-sound/mp3blaster is bad painted in a multibyte character environment
Product: Gentoo Linux Reporter: Rafael Fernández López <info>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for mp3blaster

Description Rafael Fernández López 2006-09-07 02:10:11 UTC
mp3blaster does not paint borders. For making it painting them is necessary to change main.cc, adding an include (#include <locale.h>), and then, the first line of int main() can be "setlocale(LC_ALL, "");", this way mp3blaster will be shown as expected.
Comment 1 Rafael Fernández López 2006-09-07 02:54:48 UTC
Created attachment 96268 [details, diff]
Patch for mp3blaster
Comment 2 Rafael Fernández López 2006-09-12 05:51:25 UTC
This can be reproducible by using a system-wide UTF-8 system, with 02locale as follows:

LC_ALL="es_ES.UTF-8"
LANGUAGE="es_ES.UTF-8"
LANG="es_ES.UTF-8"

Here there is no X installed, so mp3blaster is running in console (ttyX). Lines won't be drawn if USE="unicode" was marked when ncurses were emerged (compiled).

Sorry for the first lack of information.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-07-29 14:45:35 UTC
(In reply to comment #1)
> Created an attachment (id=96268) [edit]
> Patch for mp3blaster
> 

What happens to filenames with UTF-8 chars in them with this patch?
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-08-11 14:07:28 UTC
Looks and works fine here with fi_FI.utf8. Your consolefont is likely wrong.