gtkhtml r8917 - trunk/components/editor
- From: mbarnes svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkhtml r8917 - trunk/components/editor
- Date: Tue, 12 Aug 2008 17:53:37 +0000 (UTC)
Author: mbarnes
Date: Tue Aug 12 17:53:37 2008
New Revision: 8917
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=8917&view=rev
Log:
2008-08-12 Matthew Barnes <mbarnes redhat com>
** Fixes bug #543318 (patch by Pascal Terjan)
* components/editor/gtkhtml-editor.c (editor_init):
Force the codeset to UTF-8. Not entirely sure if this is the
best place for a bind_textdomain_codeset() call, but it works.
Modified:
trunk/components/editor/ChangeLog
trunk/components/editor/gtkhtml-editor.c
Modified: trunk/components/editor/gtkhtml-editor.c
==============================================================================
--- trunk/components/editor/gtkhtml-editor.c (original)
+++ trunk/components/editor/gtkhtml-editor.c Tue Aug 12 17:53:37 2008
@@ -830,6 +830,8 @@
editor->vbox = g_object_ref_sink (gtk_vbox_new (FALSE, 0));
gtk_widget_show (editor->vbox);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+
gtkhtml_editor_private_init (editor);
html = gtkhtml_editor_get_html (editor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]