#8127 HIGH 8.2.1: Write cannot handle Composed characters

Zarro Boogs per Child bugtracker at laptop.org
Tue Sep 16 15:32:37 EDT 2008


#8127: Write cannot handle Composed characters
-------------------------+--------------------------------------------------
   Reporter:  sayamindu  |       Owner:  mstone                           
       Type:  defect     |      Status:  new                              
   Priority:  high       |   Milestone:  8.2.1                            
  Component:  security   |     Version:  Development build as of this date
 Resolution:             |    Keywords:  localization r-                  
Next_action:  diagnose   |    Verified:  0                                
  Blockedby:             |    Blocking:                                   
-------------------------+--------------------------------------------------
Changes (by sayamindu):

  * keywords:  localization => localization r-


Comment:

 Attached the fix. It turns out that _get_lang() in Rainbow class in
 service.py was returning "nn_NN-XXX" where it should have returned nn_NN-
 XXX (no quotes). This was causing setlocale() (I think which is called
 from somewhere deep within gtk_init()) to bomb silently.

 This also seems to fix the issue where the Ethiopian keyboard was
 producing garbage in Write unless the font was being set explicitly. This
 was also being seen in #2207

 Please review this patch, and I think it makes sense if this goes into
 8.2.0

-- 
Ticket URL: <http://dev.laptop.org/ticket/8127#comment:9>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list