Bug 521591 – g_markup_parse_context_parse() creates GError message that
authorMurray Cumming <murrayc@murrayc.com>
Tue, 11 Mar 2008 15:43:25 +0000 (15:43 +0000)
committerMurray Cumming <murrayc@src.gnome.org>
Tue, 11 Mar 2008 15:43:25 +0000 (15:43 +0000)
commit0ae78c829dfc7fdf6a88236846bd421ef379f3f3
treea650ee5890cffb76269f9ffe446c6e759f09ee19
parentc5a10d2650e11b9a700b605640a41275a4ee1a5d
Bug 521591 – g_markup_parse_context_parse() creates GError message that

2008-03-11  Murray Cumming  <murrayc@murrayc.com>

Bug 521591 – g_markup_parse_context_parse() creates GError message that
is invalid UTF8.

* glib/gmarkup.c (set_error): Make sure that the GError::message is
valid UTF-8 even if it is complaining about invalid UTF-8 in the
markup text, using _g_utf8_make_valid().

svn path=/trunk/; revision=6680
ChangeLog
glib/gmarkup.c