Use utf8_str(), not mb_str(), for strings passed to GTK+.
All GTK+ strings must be encoded in UTF-8, not whichever encoding the current locale happens to use. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -319,10 +319,12 @@ protected:
|
|||||||
|
|
||||||
// append this stack frame's info in the dialog
|
// append this stack frame's info in the dialog
|
||||||
if (!frame.GetFileName().empty() || !fncname.empty())
|
if (!frame.GetFileName().empty() || !fncname.empty())
|
||||||
|
{
|
||||||
gtk_assert_dialog_append_stack_frame(m_dlg,
|
gtk_assert_dialog_append_stack_frame(m_dlg,
|
||||||
fncname.mb_str(),
|
fncname.utf8_str(),
|
||||||
frame.GetFileName().mb_str(),
|
frame.GetFileName().utf8_str(),
|
||||||
frame.GetLine());
|
frame.GetLine());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Reference in New Issue
Block a user