5
submitted 1 year ago* (last edited 1 year ago) by Elara@lemmygrad.ml to c/trans@lemmygrad.ml

Hexbear has several trans communities. Make sure to check those out:

We love our Hexbear comrades <3

you are viewing a single comment's thread
view the rest of the comments
[-] ComradePupIvy@lemmygrad.ml 0 points 1 year ago

Do you know is it the Trans Flag/ none country flags causing the issue, or all flags?

[-] Elara@lemmygrad.ml 0 points 1 year ago* (last edited 1 year ago)

It's any unicode character that uses the zero-width joiner or other code points that are considered "invisible". I opened an issue here: https://github.com/LemmyNet/lemmy/issues/3888.

[-] ComradeEd@lemmygrad.ml 0 points 1 year ago

Oh fucking lord. I made the mistake of attempting to look into the characters, so I could make a PR. It's unicode, it's fucking unicode, of course it's a nightmare.

[-] Elara@lemmygrad.ml 0 points 1 year ago* (last edited 1 year ago)

Yeah lol. It's not a very difficult fix really. Rather than checking if the string contains any invisible characters, it should check if it only contains invisible characters. The way they're doing it now unintentionally breaks a lot of stuff (breaking stuff unintentionally is a pretty common thing with unicode lol).

[-] ComradeEd@lemmygrad.ml 0 points 1 year ago

It's honestly easier to just check if it starts with those.

[-] Elara@lemmygrad.ml 0 points 1 year ago

It is, yeah, which is why I suggested that in the issue :)

this post was submitted on 21 Oct 2023
5 points (100.0% liked)

Trans

471 readers
1 users here now

There can be no trans liberation without the abolition of capitalism!

We have a Trans room in the GenZedong Matrix space! See the instructions in /c/genzedong to join.

Join our Akkoma instance at spectreofcommunism.boo!

UwU

founded 3 years ago
MODERATORS