From: Junio C Hamano Date: Fri, 18 Jul 2014 18:26:24 GMT Subject: Re: [PATCH 2/6] Disable t0110's high-bit test on Windows Message-ID: In-Reply-To: <53C813D2.8070701@gmail.com> Karsten Blees writes: > Am 17.07.2014 17:37, schrieb Stepan Kasal: >> From: Johannes Schindelin >> >> The bash Git for Windows uses (i.e. the MSys bash) cannot pass >> command-line arguments with high bits set verbatim to non-MSys programs, >> but instead converts those characters with high bits set to their hex >> representation. >> > > The description is not entirely correct...the Unicode-enabled MSYS.dll > expects the command line to be UTF-8. Only *invalid* UTF-8 is converted > to hex code for convenience. So its not the high bits that cause trouble, > but specifying 0x80 without proper UTF-8 lead byte. > > I believe the last line of the test may actually work: > > test "$(test-urlmatch-normalization -p "$(cat "$tu-11")")" = "x://q/%C2%80%DF%BF%E0%A0%80%EF%BF%BD%F0%90%80%80%F0%AF%BF%BD" > > -- Can somebody send a tested replacement then? Thanks. -- -- *** Please reply-to-all at all times *** *** (do not pretend to know who is subscribed and who is not) *** *** Please avoid top-posting. *** The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free. You received this message because you are subscribed to the Google Groups "msysGit" group. To post to this group, send email to msysgit@googlegroups.com To unsubscribe from this group, send email to msysgit+unsubscribe@googlegroups.com For more options, and view previous threads, visit this group at http://groups.google.com/group/msysgit?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "msysGit" group. To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.