this post was submitted on 06 Sep 2024
41 points (83.6% liked)
Fediverse
28460 readers
1059 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to [email protected]!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sorry but this is just false. URIs can easily encode UTF-8 characters and it's perfectly standard to do so via percent-encoding. Example: https://en.wikipedia.org/wiki/π. Your browser will even automatically convert that π into the appropriate percent-encoding and will even display the emoji in the address bar, even if that is not the "true" URI.
This is, if you ask me, an unnecessary limitation in Lemmy.
Link is detected without the emoji in my app. You might wanna hardcode the link as https://en.wikipedia.org/wiki/π
[https://en.wikipedia.org/wiki/π](https://en.wikipedia.org/wiki/π)
Using ASCII in URLs is simple and is less error prone than "supporting" unicode via percent encoding. It is also just a convention to use ASCII for usernames in many platforms. ASCII is also supported out of the box in major OSes while some unicode characters might not. What about impersonation? And what about people trying to type in the username of someone that uses unicode? It is not logical to use unicode in this case.
That's only true for platforms that only caters to the English speaking world. The fediverse should be and is much broader than that.
What? There is no major OS that does not support Unicode out of the box.
Percent encoding is perfectly fine and users won't even see it.
Also please stop down voting twice with your alt accounts, that's not cool.
Punycode would work here better I think as itβs plain ASCI with no special characters except a dash if I recall correctly.
Punycode is not solving the same problem. Punycode solves Unicode in domain names. Percent encoding is for Unicode in URL paths. Lemmy only needs to worry about the paths, Punycode should be "supported" out of the box without any special handling