+2004-10-29 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/goption.c (parse_arg): Convert filenames to UTF-8 on
+ Windows.
+
2004-10-29 Hans Breuer <hans@breuer.org>
* glibconfig.h */makefile.msc.in : updated [and finally fixed my
+2004-10-29 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/goption.c (parse_arg): Convert filenames to UTF-8 on
+ Windows.
+
2004-10-29 Hans Breuer <hans@breuer.org>
* glibconfig.h */makefile.msc.in : updated [and finally fixed my
+2004-10-29 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/goption.c (parse_arg): Convert filenames to UTF-8 on
+ Windows.
+
2004-10-29 Hans Breuer <hans@breuer.org>
* glibconfig.h */makefile.msc.in : updated [and finally fixed my
+2004-10-29 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/goption.c (parse_arg): Convert filenames to UTF-8 on
+ Windows.
+
2004-10-29 Hans Breuer <hans@breuer.org>
* glibconfig.h */makefile.msc.in : updated [and finally fixed my
+2004-10-29 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/goption.c (parse_arg): Convert filenames to UTF-8 on
+ Windows.
+
2004-10-29 Hans Breuer <hans@breuer.org>
* glibconfig.h */makefile.msc.in : updated [and finally fixed my
{
gchar *data;
+#ifdef G_OS_WIN32
+ data = g_locale_to_utf8 (value, -1, NULL, NULL, error);
+
+ if (!data)
+ return FALSE;
+#else
data = g_strdup (value);
-
+#endif
change = get_change (context, G_OPTION_ARG_FILENAME,
entry->arg_data);
g_free (change->allocated.str);
{
gchar *data;
+#ifdef G_OS_WIN32
+ data = g_locale_to_utf8 (value, -1, NULL, NULL, error);
+
+ if (!data)
+ return FALSE;
+#else
data = g_strdup (value);
-
+#endif
change = get_change (context, G_OPTION_ARG_STRING_ARRAY,
entry->arg_data);