Bug 11743 - Problem with cyrillic encoding in xscreensaver lock screen
Summary: Problem with cyrillic encoding in xscreensaver lock screen
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
: 14396 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-23 16:13 CET by Kirill Anikin
Modified: 2015-01-22 17:39 CET (History)
4 users (show)

See Also:
Source RPM: xscreensaver-5.21-1.mga3
CVE:
Status comment:


Attachments
Patch add support for cyrillic UTF-8 to xscreensaver (5.76 KB, patch)
2014-10-31 16:18 CET, Nicolas Salguero
Details | Diff
Screen with problem (9.26 KB, image/png)
2014-11-02 08:21 CET, Alex Loginov
Details
Updated patch that adds support for cyrillic and japanese UTF-8 to xscreensaver (3.61 KB, patch)
2014-11-04 14:31 CET, Nicolas Salguero
Details | Diff

Description Kirill Anikin 2013-11-23 16:13:42 CET
Description of problem:

All labels in lock screen are wirtten in English, but label "Password" and date/time label are in UTF-8 encoding and incorrectly showed in ISO-8859-1 encoding.

Version-Release number of selected component (if applicable):

xscreensaver-5.21-1.mga3

How reproducible:

Every time

Steps to Reproduce:
1. xscreensaver-command --lock with Russian locale


Reproducible: 

Steps to Reproduce:
Comment 1 David Walser 2013-11-26 21:10:24 CET
As this is a software issue, rather than a packaging issue, your best bet is to report it upstream.  There are instructions for doing that here:
http://www.jwz.org/xscreensaver/bugs.html

If a fix is developed for this, let us know and perhaps we can include it.
Comment 2 Alex Loginov 2014-10-29 18:33:18 CET
*** Bug 14396 has been marked as a duplicate of this bug. ***

CC: (none) => nicolas.salguero

Alex Loginov 2014-10-29 18:33:46 CET

CC: (none) => loginov_alex

Comment 3 Nicolas Salguero 2014-10-31 16:18:48 CET
Created attachment 5552 [details]
Patch add support for cyrillic UTF-8 to xscreensaver

Hi,

This patch also works with latest version of xscreensaver (5.30).

Regards.

Nico.
Alex Loginov 2014-11-02 08:20:45 CET

URL: http://img.by/i/UtDvR.png => (none)

Comment 4 Alex Loginov 2014-11-02 08:21:23 CET
Created attachment 5553 [details]
Screen with problem
Comment 5 Alex Loginov 2014-11-02 09:14:43 CET
Fixed in xscreensaver-5.29-4.mga5 for Cauldron. Patch was sent to upstream.

This bug is for mga3, but 2014-11-19 is EOL for mga3.
Comment 6 Mamoru TASAKA 2014-11-03 12:46:01 CET
I was asked from jwz about this patch, and I answered that this does not seem to work on ja_JP.utf8 .

CC: (none) => mtasaka

Comment 7 Alex Loginov 2014-11-03 13:18:16 CET
Mamoru, hello,
Feel free to write patch better.
Comment 8 Nicolas Salguero 2014-11-04 14:31:06 CET
Created attachment 5572 [details]
Updated patch that adds support for cyrillic and japanese UTF-8 to xscreensaver

Hi,

This new version of the patch also works with ja_JP.UTF-8 locale but is a bit uglier because there is no restriction at all on font selection.

Regards.

Nico.

Attachment 5552 is obsolete: 0 => 1

Comment 9 Mamoru TASAKA 2014-11-04 16:50:46 CET
Well,

* Fonts are currently very difficult for me, and I cannot 
  verify your patch in detail, howeverl I don't think allowing all fonts
  is proper approach. And I have no idea what is the correct
  approach... Would you explain (also to Jamie)
  why allowing all fonts is "safe"?
Comment 10 Nicolas Salguero 2014-11-04 23:24:46 CET
Hi,

The problem is to find a subset of fonts which covers the maximum of languages and encodings (fonts that support ISO10646-1 do not necessarily provide support for cyrillic or japanese characters, for example "*-helvetica-*" font family cannot render UTF-8 cyrillic in my tests).

I have not been able to find such a subset and it seems rather common, from the searches I made on the web, to allow X11 server to pick the first font that can render the text correctly (in my tests, it seems to often choose "*-fixed-*" font family, which covers many languages and encodings).

I do not think there can be a performance issue because there is a limited number of available fonts (only fonts listed by xlsfonts, and no TTF font for example).

Regards.

Nico.
Comment 11 Alex Loginov 2014-12-18 18:45:16 CET
Hi, thanks for reporting this bug.
We are sorry, but we no longer maintains this version of Mageia. Please upgrade to the latest version and reopen this bug against that version if this bug exists there.
As a result we are setting this bug to CLOSED:WONTFIX

This bug is for mga3, but 2014-11-19 is EOL for mga3.

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

Comment 12 Rémi Verschelde 2015-01-22 17:39:32 CET
For the sake of consistency, this bug has been fixed for Mageia 5 using Nicolas' patch.

Hardware: i586 => All
CC: (none) => remi
Version: 3 => Cauldron


Note You need to log in before you can comment on or make changes to this bug.