Converted strings to utf8 before passing to gtksheet. Should work properly now with
[pspp-builds.git] / src / ui / gui / helper.h
index 6097041e04af95391cfcf3328f34c8c5027a9607..3ec352d945f490705e6cce4b8cf01d6a22758b97 100644 (file)
@@ -22,8 +22,8 @@
 #ifndef __MISC_H__
 #define __MISC_H__
 
-#include "value.h"
-#include "format.h"
+#include <data/value.h>
+#include <data/format.h>
 
 #include <gtk/gtk.h>
 #include <glade/glade.h>
@@ -38,4 +38,8 @@ gboolean text_to_value(const gchar *text, union value *v,
 
 GtkWidget * get_widget_assert(GladeXML *xml, const gchar *name);
 
+/* Converts a string in the pspp locale to utf-8 */
+const char * pspp_locale_to_utf8(const gchar *text, gssize len, GError **err);
+
+
 #endif