[bug] i18n unicode in usernames does not display correctly #372

Open
opened 2024-02-18 10:45:17 +00:00 by fyr77 · 0 comments

Version

stable, e7a558a

What were you trying to do?

There is a test user of using non-ASCII characters in ActivityPub usernames, which akkoma seems to handle just fine - following and displaying the user works properly. But the display of the name in the frontend seems to not work as expected.

The user in question is @你好@i18n.viii.fi

I was able to search for the username without issue.

What did you expect to happen?

The user should show up as @你好@i18n.viii.fi in the frontend.

What actually happened?

The user showed up as @%E4%BD%A0%E5%A5%BD@i18n.viii.fi.

Severity

I can manage

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Version stable, e7a558a ### What were you trying to do? There is a test user of using non-ASCII characters in ActivityPub usernames, which akkoma seems to handle just fine - following and displaying the user works properly. But the display of the name in the frontend seems to not work as expected. The user in question is @你好@i18n.viii.fi I was able to search for the username without issue. ### What did you expect to happen? The user should show up as `@你好@i18n.viii.fi` in the frontend. ### What actually happened? The user showed up as `@%E4%BD%A0%E5%A5%BD@i18n.viii.fi`. ### Severity I can manage ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
Mergan added the
Bug
label 2024-03-01 03:38:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma-fe#372
No description provided.