Bug 725218 - [ru_RU] vncviewer dialog not showing Russian symbols
Summary: [ru_RU] vncviewer dialog not showing Russian symbols
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: tigervnc
Version: 17
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Adam Tkac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-24 11:09 UTC by Alexei Panov
Modified: 2013-04-30 23:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-12 18:32:16 UTC
Type: ---


Attachments (Terms of Use)
screenshot of the error (616.70 KB, image/png)
2011-07-24 11:09 UTC, Alexei Panov
no flags Details
error screenshoot (1.04 MB, image/png)
2011-07-24 11:33 UTC, Alex Pepper
no flags Details
proposed patch (14.04 KB, patch)
2012-06-26 03:33 UTC, Akira TAGOH
no flags Details | Diff

Description Alexei Panov 2011-07-24 11:09:40 UTC
Created attachment 514913 [details]
screenshot of the error

Description of problem:
I've run vncviewer, in dialog of the application instead of Russian words - the characters "?". See screenshot in attachments.

Version-Release number of selected component (if applicable):
tigervnc 1.0.90-4.fc15

How reproducible:
Always

Steps to Reproduce:
1. yum install tigervnc
2. run LANG=ru_RU.UTF-8 vncviewer

Actual results:
The characters "?" instead Russian symbols.

Expected results:
Normal application dialog in Russian.

Additional info:
My locale:
$ locale
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=

If I'll be run 
$ LANG=C vncviewer
all works fine, but in English (see screenshot).
With LANG=ru_UA.UTF-8 bug is present too.

Comment 1 Alex Pepper 2011-07-24 11:25:44 UTC
Confirm. tigervnc 1.0.90-4.

Comment 2 Alex Pepper 2011-07-24 11:33:21 UTC
Created attachment 514916 [details]
error screenshoot

Comment 3 Akira TAGOH 2012-06-26 02:17:50 UTC
This issue still persists in f17 and there are similar problems for non-English languages too because it doesn't use i18n supported APIs.

Comment 4 Akira TAGOH 2012-06-26 03:33:03 UTC
Created attachment 594340 [details]
proposed patch

Well, this is minimal patch to make it internationalized. it may needs to have some customization for the XLFD or XLFD may needs to be translatable for their preferences.

Though honestly it would be better rewriting the code to get rid of the legacy font system and use fontconfig and Xft at least, instead of applying this patch.

FWIW there seems another issue on building tigervnc so far. I can't completely build it to make the package because of fails in xserver. but was still possible to test vncviewer, but anyway.

Comment 5 Alexei Panov 2012-08-12 13:18:20 UTC
Thank you Akira. Patch works fine.

Comment 6 Adam Tkac 2013-03-12 18:32:16 UTC
This issue is no longer present in Fedora 18. Since viewer was completely rewriten in F18 and TigerVNC 1.1.X is officially dead, I'm not going to fix this issue in F17. Please upgrade to F18.


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