RocketChat / RocketChat/Rocket.Chat

Wrong avatar initials when using Swedish chars

Open
#8,545 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Look at people names and their initials in RC avatar in the attached file. See how it's incorrect. Is it the special Swedish characters like "ö" that messes things up?

You can test it here on live:
https://demo.rocket.chat/avatar/Christine.Södeberg

We are on RC version 0.58.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the incorrect initials using the live avatar URL and the attached example, then locate the avatar initials entry point in the frontend. Check behavior for Swedish characters such as "ö"; done means names like Christine Södeberg display the correct initials and the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.