Re: g_date_time_format not utf8 under win?



Hi

you might want to use before gtk_init():

  putenv("LC_ALL=C.UTF-8\0");
  putenv("LANG=C.UTF-8\0");

Bests,
Joël


On Tue, Oct 11, 2016 at 9:11 AM, Andrea Zagli <azagli libero it> wrote:

i use g_date_time_format %A to get the full weekday name

but under win i saw that the function returns not an utf8 string but an
iso-8859-1 (that i think is my win10 locale)

is that a bug?
_______________________________________________
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]