Bug 239362 - Character encoding roblem with displaying date information
Summary: Character encoding roblem with displaying date information
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: rawhide
Hardware: All
OS: All
medium
low
Target Milestone: ---
Assignee: John Dennis
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-07 20:51 UTC by Alexander Shopov
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-06-30 16:56:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Screenshot of the dialog with problem (257.75 KB, image/png)
2007-05-07 20:51 UTC, Alexander Shopov
no flags Details
This is the description of what is OK and what not. (71.63 KB, image/png)
2007-06-27 06:57 UTC, Alexander Shopov
no flags Details

Description Alexander Shopov 2007-05-07 20:51:44 UTC
Description of problem:
When used in Bulgarian UTF-8 locale setroubleshoot shows date informaion wrongly
recoded. I will attach a screenshot demonstrating the problem.

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


How reproducible:
Always

Steps to Reproduce:
1. Use bg_BG.UTF-8 locale
2. Open any event reportd by setroubleshoot
3. Voila
  
Actual results:
Info that is recoded in some wrong encoding

Expected results:
Proper dates in cyrillic

Additional info:
Will provide on request

Comment 1 Alexander Shopov 2007-05-07 20:51:45 UTC
Created attachment 154297 [details]
Screenshot of the dialog with problem

Comment 2 John Dennis 2007-06-26 20:59:40 UTC
I would like to narrow the problem down. In your screenshot you've very nicely
called out the problem. 

The same date information is shown in the "browser list" at the top of the
screen in the date column. The only difference is the string is rendered by two
differnt libraries.

Is the date rendered in the date column at the top correct?

Comment 3 Alexander Shopov 2007-06-27 06:53:21 UTC
The date in the "Date" column in the list pane of the setroubleshoot browser is OK.

I will add a screen shot with what is OK and what is garbled.




Comment 4 Alexander Shopov 2007-06-27 06:57:43 UTC
Created attachment 157983 [details]
This is the description of what is OK and what not.

Comment 5 John Dennis 2007-06-30 16:56:18 UTC
Thank you for taking the time reporting this and your gracious help in preparing
the screenshots, it helped me.

Fixed. Should appear in the next release which I'm anticipating as 1.9.8

From the changelog:

Actually the entire detail view (rendered as HTML) had the wrong
encoding, since we did not explicitly set it to UTF-8 it defaulted to 
the default HTML charset ISO-8859-1. We now include an HTML header in
the HTML document and set the meta http-equiv="Content-Type" in the
HTML document header to specify the UTF-8 charset.


Comment 6 Alexander Shopov 2007-07-04 11:33:58 UTC
Thanx John for the quick fix.

Kind regards:
al_shopov


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