git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Shin Kojima
Message 6 of 6 in “gitweb: Measure offsets against UTF-8 flagged string”
  1. gitweb: Measure offsets against UTF-8 flagged stringShin Kojima, May 1, 2018
  2. Junio C HamanoMay 2, 2018
  3. Shin KojimaMay 2, 2018
  4. Jakub NarebskiMay 3, 2018
  5. Shin KojimaMay 3, 2018
  6. Junio C HamanoMay 4, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.