g_option_context_parse_strv: use UTF-8 on Windows
authorRyan Lortie <desrt@desrt.ca>
Sun, 12 Jan 2014 17:10:19 +0000 (12:10 -0500)
committerRyan Lortie <desrt@desrt.ca>
Sat, 18 Jan 2014 00:33:09 +0000 (19:33 -0500)
commit3352293ab5b93d8607dc61a99195ea09aa7bf423
tree219c5fcc0092d5534a64ac45332c5068d57c2759
parent9592d40613ad02085fb7643cac96df655081dd3b
g_option_context_parse_strv: use UTF-8 on Windows

Add another difference to the freshly-added g_option_context_parse_strv:
now, on Windows, its arguments on to be in UTF-8 instead of the argv[]
encoding (from the system codepage).

The documentation teases g_win32_get_command_line() which is a new
GLib-filename-encoding-based function that will be added in a following
commit.

https://bugzilla.gnome.org/show_bug.cgi?id=722025
glib/goption.c