Request to lemmy: can you please allow non-latin letters as well
from Live_Let_Live@lemmy.world to fediverse@lemmy.world on 06 Sep 2024 14:47
https://lemmy.world/post/19472764

I wish it was allowed to have persian letter usernames maybe even symbols as usernames it looks really cool and increases the username pool as well.

#fediverse

threaded - newest

Blaze@feddit.org on 06 Sep 2024 14:50 next collapse

I see Arabic used from time to time

Live_Let_Live@lemmy.world on 06 Sep 2024 14:53 collapse

In usernames?

Blaze@feddit.org on 06 Sep 2024 14:58 next collapse

Communities display names: lemmy.ca/c/maroc

I guess it could work for users display names too

AbouBenAdhem@lemmy.world on 06 Sep 2024 15:03 collapse

This user’s name is displayed in Arabic, although the characters in the URL are Latin.

Live_Let_Live@lemmy.world on 06 Sep 2024 15:37 next collapse

Is it possible to make it in other than latin?

originalucifer@moist.catsweat.com on 06 Sep 2024 15:49 next collapse

have you ever seen a non-latin char url, ever?

the fedivere is incredibly url/dns dependent. labels/content can be any language (mbin uses weblate to allow for dozens off languages) but the underlying urls that control everything prolly require latin chars

Aatube@kbin.melroy.org on 06 Sep 2024 16:17 next collapse

https://ign.中国 ? There's been a standard to encode it as xn-- for a while.

originalucifer@moist.catsweat.com on 06 Sep 2024 16:18 collapse

cool!
e. cept it redirected immediately to https://www.ign.com.cn/

Aatube@kbin.melroy.org on 06 Sep 2024 16:43 collapse

Welp, at least it works. It's called punycode, and some browsers have disabled it by default due to Cyrillic letters posing a security risk. For non-domains, percent-encoding is available.

Live_Let_Live@lemmy.world on 06 Sep 2024 16:21 collapse

See this

ar.m.wikisource.org/wiki/تفسير_ابن_كثير

originalucifer@moist.catsweat.com on 06 Sep 2024 16:22 next collapse

beautiful!

[deleted] on 06 Sep 2024 16:59 collapse

.

intensely_human@lemm.ee on 06 Sep 2024 21:36 collapse

Not from an ASCII

RobotToaster@mander.xyz on 06 Sep 2024 15:52 collapse

Looks like his username is in latin characters, but he has an arabic display name.

Asudox@lemmy.world on 06 Sep 2024 16:06 next collapse

You won’t get non latin usernames anytime soon. But you can change the display name using non latin charactets

turkalino@lemmy.yachts on 06 Sep 2024 16:52 collapse

This thread is news to me. Unicode is Unicode, no? Why restrict to Latin letters?

Asudox@lemmy.world on 06 Sep 2024 20:32 next collapse

Because URLs are usually in ASCII. That was a standard. Check RFC 1738 and 3986. Now, you can use percent encoding, but why use that. It just complicates things.

SorteKanin@feddit.dk on 06 Sep 2024 21:27 collapse

There is a standard way to encode Unicode into URLs, it definitely doesn’t have to be ascii. Percent encoding is used all over the place.

EDIT: I don’t mind a down vote but double down voting me from your alt @Asudox@lemmy.world is not cool. That’s sockpuppetry/vote manipulation.

Tanoh@lemmy.world on 06 Sep 2024 21:06 collapse

There is also the risk of homograph attacks. The link below is for domain name encoding via IDN, but the same applies to usernames. You could easily impersonate another user by having chars that look similar.

en.wikipedia.org/wiki/IDN_homograph_attack

[deleted] on 06 Sep 2024 16:56 next collapse

.

SorteKanin@feddit.dk on 06 Sep 2024 20:49 collapse

ActivityPub users need to be identified by some identifier in the URL, and Lemmy chose the user name to be that identifier. As a result, non-Latin usernames become… complicated.

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: 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.

Asudox@lemmy.world on 06 Sep 2024 21:44 next collapse

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.

SorteKanin@feddit.dk on 06 Sep 2024 21:48 collapse

It is also just a convention to use ASCII for usernames in many platforms.

That’s only true for platforms that only caters to the English speaking world. The fediverse should be and is much broader than that.

ASCII is also supported out of the box in major OSes while some unicode characters might not.

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.

sznowicki@lemmy.world on 06 Sep 2024 22:07 collapse

Punycode would work here better I think as it’s plain ASCI with no special characters except a dash if I recall correctly.

SorteKanin@feddit.dk on 06 Sep 2024 22:13 collapse

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

Redjard@lemmy.dbzer0.com on 07 Sep 2024 03:20 next collapse

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/😂)

[deleted] on 07 Sep 2024 06:27 collapse

.

nutomic@lemmy.ml on 06 Sep 2024 21:07 next collapse

I believe there is still an open issue on Github for this, but no one was interested to help implement and test it. So use the search function and contribute!

Kolanaki@yiffit.net on 06 Sep 2024 21:48 collapse

Display Name field. You can use whatever you want. Even emojis. The feature is already in Lemmy; but not every instance has it available. Lemmy.World does use it, though.