Hello Giuseppe, It seems that you did not setup the locale. I think that the similar issue was already reviewed in this thread: http://stackoverflow.com/questions/3092354/printing-utf8-in-glib
Kind regards, Vest 2012/11/5 Giuseppe Penone <gius...@gmail.com> > Hi, > If I compile and run this simple code: > > > //----------------------------------------------------------------------------------- > // gcc centro.c -o centro `pkg-config --cflags --libs glib-2.0` > > #include <stdio.h> > #include <glib.h> > > int main(int argc, char *argv[]) > { > gchar test[] = "funzionalità"; > g_print("%s\n", test); > return 0; > } > > //------------------------------------------------------------------------------- > > on the terminal I read: > funzionalit? > where à is replaced by ?, can anybody help me to understand the reason? > Thanks in advance, > Giuseppe. > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list