U4-10528 - Initials in avatar is not handling Danish æ, ø and å

Created by Bjarne Fyrstenborg 12 Oct 2017, 07:42:34 Updated by Mads Rasmussen 13 Oct 2017, 08:14:26

Tags: Unscheduled PR

I noticed in the new user management with our company name "Ørskov Web" it doesn't use the letter "Ø", instead it use the next letter "R", so the initials become "RW".

It seems to be an issue somewhere here: https://github.com/umbraco/Umbraco-CMS/blob/e0025db56d52b770d2b3aedbd48a3b804fd15ef0/src/Umbraco.Web.UI.Client/src/views/components/umb-avatar.html#L4

https://github.com/umbraco/Umbraco-CMS/blob/e0025db56d52b770d2b3aedbd48a3b804fd15ef0/src/Umbraco.Web.UI.Client/src/common/directives/components/umbavatar.directive.js#L64

2 Attachments

Comments

Bjarne Fyrstenborg 12 Oct 2017, 16:45:48

Okay, it is an issue with the regex here: https://github.com/umbraco/Umbraco-CMS/blob/e0025db56d52b770d2b3aedbd48a3b804fd15ef0/src/Umbraco.Web.UI.Client/src/common/directives/components/umbavatar.directive.js#L69


Bjarne Fyrstenborg 12 Oct 2017, 21:56:07

PR: https://github.com/umbraco/Umbraco-CMS/pull/2240


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.7.2

Due in version: 7.7.3

Sprint: Sprint 69

Story Points: 1

Cycle: