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

Bug 245280

Summary: sci-astronomy/celestia-1.5.1 shows strange characters in some descriptions due lack of utf8 conversion of some files
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 1.png

Description Pacho Ramos gentoo-dev 2008-11-02 13:52:59 UTC
Simply follow the following steps on, for example, an es_ES.UTF-8 system: (I am using gtk gui)
1. Launch celestia
2. Click on "Navigation" -> "Tour Guide"
3. You will see that "Júpiter" is shown with a strange character instead of "ú", same occurs for other names and descriptions

While this strange character are show, the following messages are print in terminal:
(celestia:3555): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

Seems that some files in sources directory/locale are still not converted to utf8, the problem is that I don't know what more langs over spanish need this convertion (iconv could be used for this):
$ file ~/celestia-1.5.1/locale/*

shows the file not converted to utf8 yet (including spanish ones)

Thanks

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2008-11-02 13:53:32 UTC
Created attachment 170537 [details]
1.png

Screenshot showing the problem
Comment 2 Michele Schiavo 2008-11-02 15:44:58 UTC
did you try to login again and re-force the language ?
i did have the same problem with weather applet, it was solved reforcing the language during the login. (it was caused upgrading gnome to .22)
Comment 3 Pacho Ramos gentoo-dev 2008-11-02 19:08:27 UTC
Yes, but the problem persists :-(
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2008-11-06 12:13:40 UTC
Should be fixed in cvs, at least for a few languages.
Comment 5 Pacho Ramos gentoo-dev 2008-11-06 22:10:08 UTC
Thanks for the fast fix :-D