💾 Archived View for thrig.me › blog › 2023 › 02 › 25 › punycode.gmi captured on 2023-06-14 at 14:21:57. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-04-19)

➡️ Next capture (2023-11-14)

-=-=-=-=-=-=-

punycode

So it turns out that w3m does not support punycode (there's some Debian bugreports and TODO notes about libidn and rumors of code I could not find) which results in links such as

https://マリウス.com/gemini-is-solutionism-at-its-worst/

not working™ as the unicode needs to be converted to

https://xn--gckvb8fzb.com/gemini-is-solutionism-at-its-worst/

[RFC 5891] might be a relevant read.

(My w3m is heavily modified to prevent it from doing crazy things like calling system(3) or reading from most anywhere on the filesystem, but I'm pretty sure it's (some updates and merge conflicts and swearing about wacky new color code not supported by curses on OpenBSD) now up-to-date with tats/w3m.)

tags #w3m

bphflog links

bphflog index

next: Buggy Jbose