Werner Koch
deb6c94362
common: First take on handling Unicode command line args.
...
* common/w32-misc.c: New.
* common/t-w32-cmdline.c: New.
* common/init.c: Include w32help.h.
(prepare_w32_commandline): New.
(_init_common_subsystems) [W32]: Call prepare_w32_commandline.
* common/Makefile.am (common_sources) [W32]: Add w32-misc.c
(module_tests): Add t-w32-cmdline
(t_w32_cmdline_LDADD): New.
--
The rules for the command line parser are not cleary specified - if at
all. See the comment in t-w32-cmdline.c.
We can't use the mingw version because that would require to change
all argv handling to be wchar_t and that only for Windows. That would
be too ugly. Parsing the command line into argv by us is much easier
and we can do that only if needed - i.e. if globing is required (we
are prepared for this) or a non-ASCII character has been encountered.
This way we keep things stable and only fix the currently not working
Unicode problem.
GnuPG-bug-id: 4398
2021-03-04 10:22:14 +01:00
..
2018-03-23 08:37:14 +01:00
2017-05-11 18:12:37 +02:00
2020-09-01 20:43:57 +02:00
2020-09-24 10:37:41 +02:00
2020-09-01 20:43:57 +02:00
2020-03-27 21:16:07 +01:00
2018-10-25 16:53:05 -04:00
2017-05-10 11:13:12 +09:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2015-10-28 10:20:17 +01:00
2017-04-28 10:06:33 +09:00
2015-04-24 16:42:28 +02:00
2020-07-02 15:48:55 +02:00
2021-01-28 15:48:08 +01:00
2021-01-28 15:48:08 +01:00
2020-01-09 12:00:50 +01:00
2021-01-11 14:19:06 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2011-02-04 12:57:53 +01:00
2020-10-20 12:15:55 +02:00
2020-10-20 12:15:55 +02:00
2017-11-29 11:32:42 +01:00
2020-09-02 14:49:24 +02:00
2020-08-03 13:34:26 +09:00
2020-02-18 18:07:46 -05:00
2011-02-04 12:57:53 +01:00
2016-11-05 12:02:19 +01:00
2020-03-14 19:12:41 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2020-11-03 19:32:11 +01:00
2016-11-05 12:02:19 +01:00
2013-05-07 21:35:48 +02:00
2020-07-02 15:48:55 +02:00
2020-10-20 12:15:56 +02:00
2020-11-04 16:13:04 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2015-11-17 12:50:22 +01:00
2021-03-04 10:22:14 +01:00
2017-04-28 10:06:33 +09:00
2020-10-20 14:08:35 +02:00
2020-02-10 16:50:47 +01:00
2015-12-14 16:21:19 +01:00
2016-11-05 12:02:19 +01:00
2020-02-17 11:36:43 +01:00
2017-02-16 17:21:05 +01:00
2017-03-07 10:42:46 +09:00
2018-06-12 13:46:00 +02:00
2021-03-04 10:22:14 +01:00
2016-11-05 12:02:19 +01:00
2018-11-12 07:44:33 +01:00
2018-11-12 07:44:33 +01:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01:00
2020-03-04 13:55:53 +01:00
2018-12-01 13:43:09 +02:00
2018-12-01 13:43:09 +02:00
2020-10-20 16:38:06 +02:00
2016-11-05 12:02:19 +01:00
2018-10-25 16:53:05 -04:00
2018-10-25 16:53:05 -04:00
2019-04-16 13:24:10 +09:00
2019-08-06 13:14:58 +09:00
2019-05-07 11:09:09 +02:00
2020-08-19 13:21:32 +09:00
2019-07-12 12:11:26 +09:00
2020-03-13 13:34:49 +01:00
2020-02-18 18:07:46 -05:00
2017-10-17 21:10:19 +02:00
2017-10-17 21:10:19 +02:00
2016-03-02 14:27:30 +01:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2019-02-08 11:13:33 +01:00
2019-02-08 11:13:33 +01:00
2021-01-25 10:35:06 +01:00
2016-11-05 12:02:19 +01:00
2018-10-25 16:53:05 -04:00
2021-01-19 10:33:03 +01:00
2018-03-23 08:37:14 +01:00
2020-11-18 14:12:51 +09:00
2018-10-24 15:56:18 -04:00
2017-04-28 10:06:33 +09:00
2018-09-06 11:41:13 +09:00
2017-05-24 17:01:48 +02:00
2020-09-01 20:43:57 +02:00
2020-11-05 11:19:15 -08:00
2020-09-18 10:20:23 +09:00
2020-09-18 10:20:23 +09:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2021-02-10 08:32:57 +01:00
2021-01-11 14:19:06 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2019-10-01 10:32:31 +02:00
2020-10-20 13:38:11 +02:00
2018-10-24 15:56:18 -04:00
2020-10-20 12:15:55 +02:00
2017-01-12 10:39:19 +01:00
2016-11-05 12:02:19 +01:00
2017-01-02 13:29:18 +01:00
2016-11-05 12:02:19 +01:00
2019-09-17 16:19:28 +02:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2020-09-11 15:23:22 +02:00
2017-05-24 17:07:13 +02:00
2020-09-18 10:20:23 +09:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2016-11-05 12:02:19 +01:00
2017-02-24 13:48:28 +01:00
2021-03-04 10:22:14 +01:00
2017-02-24 13:48:28 +01:00
2016-11-05 12:02:19 +01:00
2020-04-24 15:37:48 +02:00
2020-09-11 15:23:22 +02:00
2020-04-24 15:37:48 +02:00
2020-07-02 15:48:55 +02:00
2020-07-02 15:48:55 +02:00
2020-11-18 13:36:30 +09:00
2020-09-09 20:34:59 +02:00
2016-11-05 12:02:19 +01:00
2020-08-28 15:18:00 +09:00
2017-02-24 13:48:28 +01:00
2020-11-04 16:13:04 +01:00
2016-11-05 12:02:19 +01:00
2021-03-04 10:22:14 +01:00
2017-02-24 13:48:28 +01:00
2021-03-04 10:22:14 +01:00
2021-02-21 12:38:55 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00