[Bug 46593] LXR: Incorrect display width of author names containing utf-8 characters

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 7 10:26:57 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46593

--- Comment #1 from Olivier F. R. Dierick <o.dierick at piezo-forte.be> ---
Created attachment 63488
  --> https://bugs.winehq.org/attachment.cgi?id=63488
Assume GIT command output is utf-8.

LXR uses GIT to fetch the author names from the commits.
The issue is that utf-8 bit is not set on the strings from the output of GIT
commands.
The length calculation is then done on internal bytes rather than utf-8
characters.

WineHQ.org uses LXR version 2.0.2.
LXR version 2.1.0 includes a fix for utf-8 support for GIT commands.
The attached patch is based on that fix.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list