[Avatar]: Avatar does not display initials for non-Latin usernames (e.g. Ukrainian, Arabic)
@plamenivanov91 is already working on this.
Since Sep 18, 2026.
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 285
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 59
Description
Bug Description
The circular avatar falls back to a generic user icon instead of displaying the user's initials when the first and/or last name contains non-Latin characters (e.g. Cyrillic/Ukrainian or Arabic script).
The avatar shows a generic user placeholder icon instead of the user's initials when the name contains non-Latin characters.
Examples:
<ui5-avatar initials="ГК"></ui5-avatar>
<ui5-avatar initials="ŁP"></ui5-avatar>
Affected Component
Avatar, Avatar Group
Expected Behaviour
Initials are displayed regardless of used letters passed in the initials property.
Isolated Example
https://ui5.github.io/webcomponents/components/main/Avatar/
Steps to Reproduce
- Open avatar playground/documentation
- Add
initialsproperty and set value to non-Latic (f.e. "ГК" or "ŁP") - Icon is displayed instead of initials
Log Output, Stack Trace or Screenshots
No response
Priority
High
UI5 Web Components Version
2.25.0
Browser
Chrome
Operating System
No response
Additional Context
UDEx original ticket https://github.tools.sap/sapudex/digital-design-system/issues/3491
Organization
SAP - UDEx Components & Tokens
Declaration
- I’m not disclosing any internal or sensitive information.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.