Re: Glib does not print italian character
- From: Vlad Volodin <vest 84 gmail com>
- To: GTK Lists <gtk-app-devel-list gnome org>
- Subject: Re: Glib does not print italian character
- Date: Mon, 5 Nov 2012 18:04:19 +0100
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 <giuspen 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]