Would there be any interest from the community – and any support from the core team – for changing the URL fragment encoding to allow +
instead of %20
to encode a space?
It’s simply a matter of prettier URLs, but to me that is likely enough of a reason. I would rather look at this:
https://tiddlywiki.com/#The+First+Rule+of+Using+TiddlyWiki
than this:
https://tiddlywiki.com/#The%20First%20Rule%20of%20Using%20TiddlyWiki
Technically, this is slightly problematic, because I’m pretty sure that according to spec, this is only valid in the query string, not the fragment identifier. But since TW is already hijacking the usual behavior of the fragment, and since these fragments will not be interpreted by anything other than TW, I don’t see it as a serious issue.
Of course other special characters (including the +
sign itself) would still be %
-encoded, but it would prettify a large number of URLs. And of course any existing %20
-encoded URLs should still work.
I would expect this to be easy to code, although finding all the spots where such changes would need to be applied might possibly be trickier.
So, are there others who would appreciate this? Are there technical reasons it cannot or should not be done? Or is this just a ridiculous idea, as TW would prefer to stick to web standards even when they might not be very relevant?
Addendum: I’ve used a number of sites that do this, either in the fragment part or the path part, although at the moment the only one that comes to mind is Atlassian’s Confluence.