Le samedi 07 novembre 2009 à 13:32 -0800, Matt Kraai a écrit : 
> On my system, alacarte has a segmentation fault if I reconfigure the
> locales package to generate the it...@euro locale and set LANG to
> "it...@euro".
> 
> While it's parsing the UI definition, it translates "Restore the
> default menu layout" to "Ripristina la struttura predefinita del
> men�", which uses the ISO/IEC 8859-15 character set.  It subsequently
> calls g_markup_escape_text on this string, which expects it to use
> UTF-8.  This causes it to miss the end of the string and, eventually,
> to try to access an inaccessible page, causing the segmentation fault.
> 
> I don't know where or how this should be fixed.

There is probably a missing bind_textdomain_codeset call, or whatever
the equivalent is in Python.

Anyway, we don’t support non-UTF8 locales anymore, so that’s not a very
important bug.

Cheers, 
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to