Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146662 - media-sound/mp3blaster is bad painted in a multibyte character environment
Summary: media-sound/mp3blaster is bad painted in a multibyte character environment
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-07 02:10 UTC by Rafael Fernández López
Modified: 2007-08-11 14:07 UTC (History)
0 users

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


Attachments
Patch for mp3blaster (mp3blaster-3.2.2-locale.patch,312 bytes, patch)
2006-09-07 02:54 UTC, Rafael Fernández López
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.