Unicode vs. the World

Bj?rn W?rmedal <bjorn.warmedal at gmail.com> writes:

> How does a client handle a link like the following:
> => essays/why-spaces-are-%20-in-URLs.gmi
>
> The assumption here is that the author has not percent encoded
> themselves -- this is the actual filename, %20 and all.

This doesn't work in HTML/HTTP, either.

Go to https://jfm.carcosa.net/testme.html, look at the source, see what
happens with each link. The web server is Apache.

The upshot is that to include %, or any other reserved character in the
link, you do need to pre-encode it in your source. That's obvious for
' ', because of the syntax of links in gemtext. But it's also true of %,
etc. 

-- 
Jason McBrayer      | ?Strange is the night where black stars rise,
jmcbray at carcosa.net | and strange moons circle through the skies,
                    | but stranger still is lost Carcosa.?
                    | ? Robert W. Chambers,The King in Yellow

---

Previous in thread (23 of 34): 🗣️ Jason McBrayer (jmcbray (a) carcosa.net)

Next in thread (25 of 34): 🗣️ John Cowan (cowan (a) ccil.org)

View entire thread.