Red Hat Bugzilla – Bug 963130
Some usernames are UTF-8 encoded twice
Last modified: 2014-10-12 18:50:40 EDT
Description of problem:
Some usernames are not displayed correctly, eg. firstname.lastname@example.org. Instead of 'Michael Schröder' it's rendered as 'Michael SchrÃ¶der'.
u'Ã¶d'.encode('iso-8859-1') == '\xc3\xb6'
unicode('\xc3\xb6', 'utf-8') == u'ö'
There are probably more such cases. Other accented usernames, eg mine, are displayed correctly. It should be fairly easy to detect and fix the above cases in the user database. (every username that's not ascii clean and could be sucessfully utf8-decoded twice is very likely mangled). u'Zdeněk Pavlas' is correct, because ord(u'ě') > 255, and it can't be utf-8 decoded again.
Apparently, not fixed: https://bugzilla.redhat.com/show_bug.cgi?id=905209#c7
(In reply to Zdeněk Pavlas from comment #4)
> Apparently, not fixed: https://bugzilla.redhat.com/show_bug.cgi?id=905209#c7
It won't be fixed on the production server until the bug is marked CLOSED/CURRENTRELEASE. Before this however, it needs to be tested on the development and staging servers.
This change is now live. If there are any issues, do not reopen this bug.
Instead, you should create a new bug and reference this bug.