Re: [Spice-devel] [spice-gtk 3/3] win32: Convert locale dir from UTF-8 to local encoding

2018-05-04 Thread Frediano Ziglio
> > As indicated in gtk+ win32 gtk_get_localedir [1], bindtextdomain() is not > UTF-8 aware on win32, so it needs a filename in locale encoding > > [1] https://gitlab.gnome.org/GNOME/gtk/blob/master/gtk/gtkwin32.c#L187 > --- > src/spice-glib-main.c | 6 +- > 1 file changed, 5 insertions(+),

Re: [Spice-devel] [spice-gtk 3/3] win32: Convert locale dir from UTF-8 to local encoding

2018-05-03 Thread Christophe Fergeau
On Thu, May 03, 2018 at 07:28:27AM -0400, Frediano Ziglio wrote: > > > > As indicated in gtk+ win32 gtk_get_localedir [1], bindtextdomain() is not > > UTF-8 aware on win32, so it needs a filename in locale encoding > > > > Stupid questions: what happens if the directory name has like

Re: [Spice-devel] [spice-gtk 3/3] win32: Convert locale dir from UTF-8 to local encoding

2018-05-03 Thread Frediano Ziglio
> > As indicated in gtk+ win32 gtk_get_localedir [1], bindtextdomain() is not > UTF-8 aware on win32, so it needs a filename in locale encoding > Stupid questions: what happens if the directory name has like Chines/Japanese characters and current locale is latin 1 kind of (like western

[Spice-devel] [spice-gtk 3/3] win32: Convert locale dir from UTF-8 to local encoding

2018-05-03 Thread Christophe Fergeau
As indicated in gtk+ win32 gtk_get_localedir [1], bindtextdomain() is not UTF-8 aware on win32, so it needs a filename in locale encoding [1] https://gitlab.gnome.org/GNOME/gtk/blob/master/gtk/gtkwin32.c#L187 --- src/spice-glib-main.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-)