Closed Bug 1865684 Opened 6 months ago Closed 5 months ago

Wrong capitalization of developer/author's name in tooltip if the first letter of a name is a non-ASCII character

Categories

(Tree Management :: Treeherder: Frontend, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jfkthame, Assigned: jfkthame)

References

Details

+++ This bug was initially created as a clone of Bug #1444986 +++

See https://treeherder.mozilla.org/#/jobs?repo=mozilla-central, and hover over the author icon/initials of one of Emilio's patches. Note that the tooltip shows his name as

Emilio Cobos ÁLvarez

(note the capital "L"), even though in the actual revision, it is correctly given as "Emilio Cobos Álvarez.

This arises because of the use of \w, which is ASCII-only, in the regexp that is looking for name components to capitalize. A better option would be \p{General_Category=Letter}.

You need to log in before you can comment on or make changes to this bug.