Bug 14396

Summary: xscreensaver and utf-8 problem
Product: Mageia Reporter: Nicolas Salguero <nicolas.salguero>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal CC: loginov_alex
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: Patch add support for UTF-8 to xscreensaver

Description Nicolas Salguero 2014-10-28 10:18:31 CET
Created attachment 5547 [details]
Patch add support for UTF-8 to xscreensaver

Hi,

Bug 14380 has been closed with status "RESOLVED DUPLICATE of bug 14194" but it described another problem: utf-8 support for xscreensaver. So I create another bug report to isolate the second problem.

The attached patch is borrowed from: http://forum.ubuntu-fr.org/viewtopic.php?id=19009. Alex, with this patch, and after having removed $HOME/.xscreensaver, have you ever the problem?

Regards.

Nico.
Alex Loginov 2014-10-28 17:04:55 CET

CC: (none) => loginov_alex

Comment 1 Alex Loginov 2014-10-28 20:04:23 CET
Hello, Nicolas,
No result.
Comment 2 Nicolas Salguero 2014-10-29 17:24:32 CET
Hi,

I think this bug is the same as bug 11743 and I think the problem is in the code of xscreensaver: the function XDrawString is used but it should be replaced by function Xutf8DrawString in our case because i18n messages from Linux-PAM.mo, for example, are UTF-8 encoded.

Regards.

Nico.
Comment 3 Alex Loginov 2014-10-29 18:33:18 CET
Yes, it's the same issue. Better to write patch and send to upstream.
Nicolas, will you try?

*** This bug has been marked as a duplicate of bug 11743 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE

Comment 4 Nicolas Salguero 2014-10-29 23:02:18 CET
Hi,

Yes, I will try to write a patch.

Regards.

Nico.