Re: [PATCH 2/2] mingw: use Unicode functions explicitly

2019-06-27 Thread Johannes Schindelin
Hi Eric, On Thu, 27 Jun 2019, Eric Sunshine wrote: > On Thu, Jun 27, 2019 at 5:37 AM Johannes Schindelin via GitGitGadget > wrote: > > Many Win32 API functions actually exist in two variants: one with > > the `A` suffix that takes ANSI parameters (`char *` or `const char *`) > > and one with the

Re: [PATCH 2/2] mingw: use Unicode functions explicitly

2019-06-27 Thread Eric Sunshine
On Thu, Jun 27, 2019 at 5:37 AM Johannes Schindelin via GitGitGadget wrote: > Many Win32 API functions actually exist in two variants: one with > the `A` suffix that takes ANSI parameters (`char *` or `const char *`) > and one with the `W` suffix that takes Unicode parameters (`wchar_t *` > or `co

[PATCH 2/2] mingw: use Unicode functions explicitly

2019-06-27 Thread Johannes Schindelin via GitGitGadget
From: Johannes Schindelin Many Win32 API functions actually exist in two variants: one with the `A` suffix that takes ANSI parameters (`char *` or `const char *`) and one with the `W` suffix that takes Unicode parameters (`wchar_t *` or `const wchar_t *`). The ANSI variant assumes that the strin