Bug 669415 - Unicode Data broken for 'Date and Time' setting
Summary: Unicode Data broken for 'Date and Time' setting
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: control-center
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Control Center Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-13 16:06 UTC by A S Alam
Modified: 2013-07-03 01:07 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-02-07 19:28:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Image of Drop-Down list (Region) (6.68 KB, image/png)
2011-01-13 16:06 UTC, A S Alam
no flags Details
screenshot with zh_CN locale (189.96 KB, image/png)
2011-01-13 16:07 UTC, A S Alam
no flags Details

Description A S Alam 2011-01-13 16:06:49 UTC
Created attachment 473359 [details]
Image of Drop-Down list (Region)

Description of problem:
when Click on Date and Time -> Region, translated data is not properly shown (Asia, Europe etc)

Version-Release number of selected component (if applicable):
control-center-2.91.5-1.fc15.x86_64

How reproducible:
Everytime

Steps to Reproduce:
1. run LANG=pa_IN.UTF-8 gnome-control-center
2. click on 'Date and Time'
3. Click on 'Region' drop-down list
  
Actual results:
There are odd characters there with translated name 

Expected results:
Only translated name should be there

Additional info:
Other Test language is zh_CN

Comment 1 A S Alam 2011-01-13 16:07:27 UTC
Created attachment 473360 [details]
screenshot with zh_CN locale

Comment 2 Matthias Clasen 2011-01-26 01:39:52 UTC
Fixed upstream

commit 2c4bba74e07405205b22c684b3822d13aa429ea7
Author: Matthias Clasen <mclasen>
Date:   Tue Jan 25 20:37:01 2011 -0500

    Fix handling of multichar splitting for regions
    
    g_strsplit_set is not the right thing to use with multibyte
    characters. GRegex to the rescue. This was causing misrendering
    and crashes in Chinese:
    https://bugzilla.redhat.com/show_bug.cgi?id=669415
    
    Also, we have to call bind_textdomain_codeset().

Comment 3 Bastien Nocera 2011-02-07 19:28:53 UTC
And is now fixed in the released control-center-2.91.6 packages.


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