Bug#552528: Caused by character set mismatch

Josselin Mouette joss at debian.org
Mon Nov 9 22:55:57 UTC 2009


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_IT at euro locale and set LANG to
> "it_IT at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20091109/66bed411/attachment-0001.pgp>


More information about the pkg-gnome-maintainers mailing list