I have a problem with the dart/flutter URI implementation. % is automatically replaced by %25.
i want to access the following URL:
http://some.domain/json.php?key=%DF [%DF=ß in ASCII/latin1]
the code:
final uri = Uri.http('some.domain', 'json.php', {'key': 'ß'});
results in
http://some.domain/json.php?key=%C3%9F [ß in UTF-8]
when trying
final uri = Uri.http('some.domain', 'json.php', {'key': '%DF'});
it results in:
http://some.domain/json.php?key=%25DF [% automatically escaped to %25]
when trying explicit encoding:
final uri = Uri.http('some.domain', 'json.php',
{'key': Uri.encodeQueryComponent('ß', encoding: latin1)});
it results in:
http://some.domain/json.php?key=%25DF [% automatically escaped to %25]
How can I disable the automatic encoding of % to %25?!
any ideas?