[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-app-devel
Subject: Re: g_date_time_format not utf8 under win?
From: Joël Krähemann <jkraehemann () gmail ! com>
Date: 2016-10-13 18:39:56
Message-ID: CA+Owze4ZmqXDt6q_ORywFHk=B-RGWokrQDGjQVkiU8-HCrKV=w () mail ! gmail ! com
[Download RAW message or body]
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
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic