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

[PATCH 0/1] gettext(windows): always use UTF-8

From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
Date
Jun 27, 2019, 08:44 UTC
Message-ID
<pull.217.git.gitgitgadget@gmail.com>

The main issue we work around here is that Windows does not have a UTF-8 "code page".

Side note: there is actually a code page for UTF-8: 65001 (see 
https://docs.microsoft.com/en-us/windows/desktop/Intl/code-page-identifiers
). However, when experimenting with it, we ran into a multitude of issues in
the Git for Windows project, ranging from various problems with Windows'
default console to miscounted file writes. While these issues may have been
mitigated in recent Windows 10 versions, older ones (in particular, Windows
7) still seem to have most of them, and Git for Windows specifically still
supports even Windows Vista. So from a practical point of view, there is no
UTF-8 code page.
Karsten Blees (1):
  gettext: always use UTF-8 on native Windows
 gettext.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
base-commit: aa25c82427ae70aebf3b8f970f2afd54e9a2a8c6
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-217%2Fdscho%2Fgettext-force-utf-8-on-windows-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-217/dscho/gettext-force-utf-8-on-windows-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/217
-- 
gitgitgadget
Next: Karsten Blees via GitGitGadget
Message 1 of 9 in “gettext(windows): always use UTF-8”
  1. 0/1 gettext(windows): always use UTF-8Johannes Schindelin via GitGitGadget, Jun 27, 2019
  2. 1/1 gettext: always use UTF-8 on native WindowsKarsten Blees via GitGitGadget, Jun 27, 2019
  3. Johannes SchindelinJul 3, 2019
  4. Junio C HamanoJul 3, 2019
  5. 0/1 gettext(windows): always use UTF-8Johannes Schindelin via GitGitGadget, Jul 3, 2019
  6. 1/1 gettext: always use UTF-8 on native WindowsKarsten Blees via GitGitGadget, Jul 3, 2019
  7. Ævar Arnfjörð BjarmasonJul 4, 2019
  8. Johannes SchindelinJul 8, 2019
  9. Junio C HamanoJul 8, 2019

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.