UI5 / UI5/webcomponents

[Avatar]: Avatar does not display initials for non-Latin usernames (e.g. Ukrainian, Arabic)

Open
#13,996 0 comments 0 reactions 1 assignee View on GitHub

@plamenivanov91 is already working on this.

Since Sep 18, 2026.

bug feature request SAP UDEx TOPIC P
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>
Image Image
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
  1. Open avatar playground/documentation
  2. Add initials property and set value to non-Latic (f.e. "ГК" or "ŁP")
  3. 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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.