X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:message-id:from:to:subject
	:content-type:date:content-transfer-encoding; q=dns; s=default; b=
	fl3Kv49E2HamxJNUj+M75bIUOA2aeumMmcCx4lXWnFb5coOKGQ2ad+WkZwwpZjyO
	SqW2tUHfTbmCigSxDp7KXglb2sXfvHmryY+rVhc2wfXADyCRTXVc6JbIjh+nMa1k
	FcuPCZdJeg43lbMxCSzgOseanLMK+A4U/CxopykloG4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:message-id:from:to:subject
	:content-type:date:content-transfer-encoding; s=default; bh=zraa
	4mivBtfgD3yaGOiQ8NuM2Dk=; b=ez58PeZ4u5u1qJ/2OVG0dUC3mJFuwGLV6ijZ
	r8BMFGUJwHpyK/FBJhNHG5DkOzhfcvqcr9bTFGzsK7pjyDsPTo0KLhk1ggetRg2q
	E75HzC/JM11n5KFEaSXbjPoGJlMdwzsGXSSFg0+fD8YKxoBgMjb69pAbmmolqhzb
	mByHnXY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=german, German, Dev, powershell
X-HELO: mout.gmx.net
MIME-Version: 1.0
Message-ID: <trinity-8fe5be0c-931f-4fc0-bc58-ae19dfe67321-1520588413836@3c-app-gmx-bs45>
From: "Josef Frank" <josef.frank@gmx.ch>
To: cygwin@cygwin.com
Subject: chere (=> windows explorer context menu) not working with German umlaut in Path
Content-Type: text/plain; charset=UTF-8
Date: Fri, 9 Mar 2018 10:40:13 +0100
Sensitivity: Normal
X-UI-Out-Filterresults: notjunk:1;V01:K0:nKWMlJNFMMM=:fUhalrpRKzhAtPC6VeKCzZ I26iFgYPoTnZPo5BpdgLmd+0P8Z/TpEM0wshvLVVlDrhmKANbbX5uptaIYbyhVi5v6ZdniF+J 8nqT0HVSWQOEabSB+1sGjj4AjOuLd6xxyIqr3N/42VfBQlvwk/AtUvbzhgV+IcuDQLWzQDuo2 DEY8VNRDBbufS4H8iIp3PNBHR820cdT2eyjg1Fdtk3Av9/tGYUsUxtdQQL8BG+2BguXAP6Irf JyqqeMdIrKhGJN7nhy6hTzuJHUEX5rF5urIKqBAwyW3Tn1TIrkYFDaWiFihh1yIBAyMfJieHy ZBloSAuwdM3qpPvhLwpnylChgJUEuxP3aMXTrsUyd3TSWaYQiFZnE/NIAuh/pC+DzOpDRcrr8 x2MnLmerXpMZCDMZHp2O7J+6475gxZm4egVNzFFd9ZkpEYCuamk8IsVr7sZUQktQ6NC1NXZlv c0NvXbB3YAigAXAHbwjxBsm2mhfWQefbXIafFHxJA8ljwzEcTUJd
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w299eY3e027229

The "chere" package installs an entry in the windows explorer context menu to open a mintty window running bash at an arbitrary location. 

However the context menu entry "Bash prompt here" does not work, when the directory path contains a German umlaut in any position. E.g.: using it for c:/temp/ö results in a Bash prompt opened in _c:/temp_, while opening a windows cmd prompt via context menu also works with umlauts in the path.

How do I resolve this issue?

FYI:

1. created registry entry is c:\opt\cygwin\bin\mintty.exe -e /bin/xhere /bin/bash.exe "%L" (in extended context menu "%L" is replaced by "%V"; but this also does not work)

2. locale setting in cygwin: LANG=de_DE.UTF-8

3. File system is NTFS. Therefore file names are claimed to be stored in "Unicode", whatever this means in the respective documentation (Windows Dev Center description of encoding for file names[https://msdn.microsoft.com/en-us/library/windows/desktop/dd317748%28v=vs.85%29.aspx])

4. Codepage in CMD-window: 850 (according to powershell command [System.Text.Encoding]::Default)

5. Windows codepage: 1252

6. All three programs (windows explorer, cmd.exe, bash in mintty) show the umlaut in consistent manner despite different encodings

7. Renaming files is not possible as the problem mainly arises on network drives with folders/files that are a) referred to by lots of links (symbolic as well as windows shortcuts) and b) owned/shared by multiple different users

Greatly would appreciate help
Thanks in advance
JF


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


