Bug 725218

Summary: [ru_RU] vncviewer dialog not showing Russian symbols
Product: [Fedora] Fedora Reporter: Alexei Panov <me>
Component: tigervncAssignee: Adam Tkac <atkac>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 17CC: atkac, i18n-bugs, ovasik, perchibald, tagoh
Target Milestone: ---Keywords: i18n, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-12 18:32:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screenshot of the error
none
error screenshoot
none
proposed patch none

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.