diff options
author | David Robillard <d@drobilla.net> | 2023-02-05 18:39:49 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 343124df71010055c2c1e6cdcadd13d23b2c013a (patch) | |
tree | 7c2de6a72021adaac89e9c4fa97e7cc5503e0657 /tools/console.c | |
parent | 530edb265fbbed20e6d3a6fd7a36461ff83d9b46 (diff) | |
download | serd-343124df71010055c2c1e6cdcadd13d23b2c013a.tar.gz serd-343124df71010055c2c1e6cdcadd13d23b2c013a.tar.bz2 serd-343124df71010055c2c1e6cdcadd13d23b2c013a.zip |
[WIP] Add support for URI hex escape decoding
Diffstat (limited to 'tools/console.c')
-rw-r--r-- | tools/console.c | 2 |
1 files changed, 2 insertions, 0 deletions
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}, |