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

git-filter-branch : LANG / LC_ALL = C breaks UTF-8 author names

From
RMRichard MICHAEL <rmichael@leadformance.com>
Date
Aug 20, 2010, 13:20 UTC
Message-ID
<4C6E8109.5030202@leadformance.com>
  Hello all,

I am filtering our repo with git-filter-branch, but as the sed script runs with LANG=C LC_ALL=C (7 bit US ASCII), it dies on commits authored by our team members with accented names. Why are the locales "C"? For compatibility with older sed? I've changed to LANG=en_US.UTF-8, will my change will cause other git-breakage?

git-filter-branch
95: LANG=C LC_ALL=C sed -ne "$pick_id_script"
95: LANG=en_US.UTF-8 sed -ne "$pick_id_script"

Regards, Richard

Next: Jonathan Nieder
Message 1 of 4 in “git-filter-branch : LANG / LC_ALL = C breaks UTF-8 author names”
  1. Richard MICHAELAug 20, 2010
  2. Jonathan NiederAug 20, 2010
  3. Richard MICHAELAug 20, 2010
  4. Jonathan NiederSep 1, 2010

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.