Bug 966893 - thermostat: UTF-8 characters are not displayed properly
Summary: thermostat: UTF-8 characters are not displayed properly
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: thermostat
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Omair Majid
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-24 08:39 UTC by Mikolaj Izdebski
Modified: 2014-04-24 16:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-24 16:42:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot of GUI with incorrectly displayed UTF-8 characters (20.91 KB, image/png)
2013-05-24 08:39 UTC, Mikolaj Izdebski
no flags Details

Description Mikolaj Izdebski 2013-05-24 08:39:42 UTC
Created attachment 752500 [details]
Screenshot of GUI with incorrectly displayed UTF-8 characters

Description of problem:
In thermostat GUI UTF-8 fields are not displayed properly.

How reproducible:
Always.

Actual results:
For multibute UTF-8 characters 2 or 3 placeholders character are displayed instead.

Expected results:
UTF-8 characters are displayed properly.

Additional info:
See the screenshot attached.

Comment 1 Omair Majid 2013-05-24 15:48:40 UTC
Could you describe how to reproduce this? What exact commands did you run? Upstream found something similar in the webservice code, but it was fixed [1][2].

[1] http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1344
[2] http://icedtea.classpath.org//hg/thermostat?cmd=changeset;node=36241f812295

Comment 2 Mikolaj Izdebski 2013-05-27 05:47:08 UTC
I think this is locale dependant issue.  At some point a locale-dependant encoding is used instead of UTF-8.  You could reproduce the issue by setting locale to non-UTF-8 and then running thermostat, for example:

unset LANG
export LANG
export LC_ALL=POSIX
thermostat service &
thermostat gui

If I set locale to UTF-8 (like LC_ALL=en_US.utf8) then Unicode characters are displayed in GUI correctly.

Comment 3 Omair Majid 2013-09-11 20:21:04 UTC
I believe this upstream commit fixes things:
http://icedtea.classpath.org/hg/thermostat/rev/ff7b684c65ef

Comment 4 Omair Majid 2014-04-24 16:42:20 UTC
Rebasing to the fixed upstream version is too significant a change for Fedora 19. Sorry, I wont fix this in Fedora 19.


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