Bug 669415

Summary: Unicode Data broken for 'Date and Time' setting
Product: [Fedora] Fedora Reporter: A S Alam <aalam>
Component: control-centerAssignee: Control Center Maintainer <control-center-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: bnocera, control-center-maint, i18n-bugs, mclasen, mshao, rstrode
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-07 19:28:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Image of Drop-Down list (Region)
none
screenshot with zh_CN locale none

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.