Glib does not print italian character



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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]