Re: [PATCH] gitweb: Measure offsets against UTF-8 flagged string
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 4, 2018, 02:38 UTC
- Message-ID
- <xmqqin84taau.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <86k1skzzc4.fsf@gmail.com>
Jakub Narebski <jnareb@gmail.com> writes:
> I think the problem is not with aligning, otherwise we would simply get > bad aling, and not visible corruption. The ACTUAL PROBLEM is most > probably because of concatenating strings marked as UTF-8 and strings > not marked as UTF-8. Strange things happen then in Perl, unfortunetaly.
Sounds quite right---the patch needs to be retitled, if the bug is not about "measuring offset", which I think is what fooled me when I sent my response.