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
initials property 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
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:
Affected Component
Avatar, Avatar Group
Expected Behaviour
Initials are displayed regardless of used letters passed in the
initialsproperty.Isolated Example
https://ui5.github.io/webcomponents/components/main/Avatar/
Steps to Reproduce
initialsproperty and set value to non-Latic (f.e. "ГК" or "ŁP")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