Subject: bug#6705: w32 cmdproxy.c pass args to cygwin; erroneous charset conversion (problem description, solution/suggestion)

From: Eli Zaretskii <[email-masked]>
Date: Sat, 24 Jul 2010 00:25:31 +0300

> Date: Fri, 23 Jul 2010 21:53:00 +0300
> From: Laimonas Vėbra <[email-masked]>
> CC: [email-masked]
> 
> Eli Zaretskii wrote:
> >> Date: Fri, 23 Jul 2010 18:35:40 +0300
> >> From: Laimonas Vėbra<[email-masked]>
> >> CC: [email-masked]
> >>
> >> M-x grep
> >> test.exe "ĔĿİ">  out.txt
> >>
> >> $ cat out.txt
> >> argv[1]: ĔĿİ
> >
> > And what does that prove, exactly?  That MinGW programs can support
> > non-ASCII characters?  I never said they didn't.
> 
> Exactly? It means, that now mingw (native) programs can receive args 
> from Emacs in whatever (except utf-16|32 and maybe few others) encoding 
> without corruption.

Only if that encoding matches the current user's codepage.

Now come on, this discussion has nothing more to contribute to the
subject.  Time to stop it.