From 7e5c0a94bacdfe6e1c65035b16fd97a77398df12 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 10 Jun 2012 22:47:57 +0000 Subject: LRN: new utf8 argv converter for W32, converting strings on command-line to UTF-8 for all command-line tools. --- src/fs/gnunet-download.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/fs/gnunet-download.c') diff --git a/src/fs/gnunet-download.c b/src/fs/gnunet-download.c index 5a66aea27..bd5b09c0d 100644 --- a/src/fs/gnunet-download.c +++ b/src/fs/gnunet-download.c @@ -272,6 +272,10 @@ main (int argc, char *const *argv) 0, &GNUNET_GETOPT_increment_value, &verbose}, GNUNET_GETOPT_OPTION_END }; + + if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) + return 2; + return (GNUNET_OK == GNUNET_PROGRAM_run (argc, argv, "gnunet-download [OPTIONS] URI", gettext_noop -- cgit v1.2.3