From 343124df71010055c2c1e6cdcadd13d23b2c013a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 5 Feb 2023 18:39:49 -0500 Subject: [WIP] Add support for URI hex escape decoding --- tools/console.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/console.c') diff --git a/tools/console.c b/tools/console.c index 057656d5..661e7ab4 100644 --- a/tools/console.c +++ b/tools/console.c @@ -241,6 +241,7 @@ serd_set_input_option(const ZixStringView name, {"global", SERD_READ_GLOBAL}, {"generated", SERD_READ_GENERATED}, {"ordered", SERD_READ_ORDERED}, + {"decoded", SERD_READ_DECODED}, {NULL, SERD_READ_LAX}, }; @@ -293,6 +294,7 @@ serd_set_output_option(const ZixStringView name, static const OutputOption output_options[] = { {"ascii", SERD_WRITE_ASCII}, {"contextual", SERD_WRITE_CONTEXTUAL}, + {"escapes", SERD_WRITE_ESCAPES}, {"expanded", SERD_WRITE_EXPANDED}, {"lax", SERD_WRITE_LAX}, {"longhand", SERD_WRITE_LONGHAND}, -- cgit v1.2.1