X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fhelper.h;h=3ec352d945f490705e6cce4b8cf01d6a22758b97;hb=b1352e0bd746fd3ca70dafb1c1715deb70234a41;hp=eef64213c2c229735af0f8b03db5c6a2a68523dd;hpb=321aff454c80b141d1d85fc1e3ea0c4eb05ab437;p=pspp-builds.git diff --git a/src/ui/gui/helper.h b/src/ui/gui/helper.h index eef64213..3ec352d9 100644 --- a/src/ui/gui/helper.h +++ b/src/ui/gui/helper.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