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

[PATCH 0/1] mingw: handle non-ASCII PATH components correctly

From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
Date
Aug 24, 2019, 22:38 UTC
Message-ID
<pull.135.git.gitgitgadget@gmail.com>

We need to be careful on Windows: there are "ANSI" versions of the API functions that take char *, and "Unicode" versions that take "wchar_t ` strings as parameters. The ANSI versions are subject to the current codepage, i.e. almost guaranteed to *not handle UTF-8. Internally, we do want to use UTF-8, though, at least in compat/mingw.c, so we really have to use the Unicode versions of the Win32 API.

Adam Roben (1):
  mingw: fix launching of externals from Unicode paths
 compat/mingw.c | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
base-commit: 8104ec994ea3849a968b4667d072fedd1e688642
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-135%2Fdscho%2Ffix-externals-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-135/dscho/fix-externals-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/135
-- 
gitgitgadget
Next: Adam Roben via GitGitGadget
Message 1 of 3 in “mingw: handle non-ASCII PATH components correctly”
  1. 0/1 mingw: handle non-ASCII PATH components correctlyJohannes Schindelin via GitGitGadget, Aug 24, 2019
  2. 1/1 mingw: fix launching of externals from Unicode pathsAdam Roben via GitGitGadget, Aug 24, 2019
  3. Junio C HamanoAug 26, 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.