X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D6117394504F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1611609174;
	bh=HV5WlLLrLP7KLU652o1unhy9GwHmnoCH3k3QVy2Bx4U=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=s9jJa87S2OAElri6S1sqf/TBYG3ZzT/4+AC32TFpgw/4MV9N+fmwUugwiHa6nJEQH
	 ItSHXdgfV+9QWf7JVT35s2WWZrvA++Lde11lX1159agVuJEGqVlio+Q+XW0jRLvOYN
	 z5TocVWBtq+Krwt1VN5lZVUKGZhOBklmweC+gdtY=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 020F2385803B
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=Arb9SPhywSutybX2KL70tnnN5d2Bq4YtmO6IFlg0x5Y=;
 b=k6uiNkmCjvfjzk3lsXfiGLzij7ZMsB0cQ8jVt+epK2dyUjqNx+Obr+vGG/6D9b1jd1
 yfRezDnQU2y7ytAZiXchduytvWqQqG7bZT7ggIxFcVAYmDYWVZHuYXZQyjvrJQCdum1D
 lYRhgh5oollQWu0eW5/oXd+P87t/YzFa6i40lyOwtpdbVY132ySfDP+nA8qHq97t0VZ6
 pgxuAXwy0unn/hfPLM8BXQgZicYZRHtV8M5dbUbIXonOGKmj2BdYJwKmQr+h8YfDBe3D
 aikCVDcBIPbHyUYxnvwCSFqhcV2ZY8B7j+81/+dQCun9bpPE1dD9YUq0iusg0zqw4t4S
 +J4Q==
X-Gm-Message-State: AOAM530zeTnQs1mvRlmfuMsgNDQZ01ZJq4nVC5Y8DSOH0v1o/AMqCO+b
 6dn7qsD2n6j+TCJHZa1gN/VuZP8XZbyrRnJu/AmCmvpP7825dA==
X-Google-Smtp-Source: ABdhPJxUXMQLhDsjjKVVdnO/XslEr5zgkStjgoUSYQr5D8JtaI6ktKWMzk25Y961Y1PTSVb0qJuPYfFiqQ/OwSM62ow=
X-Received: by 2002:a17:907:9f9:: with SMTP id
 ce25mr1622469ejc.352.1611609167883; 
 Mon, 25 Jan 2021 13:12:47 -0800 (PST)
MIME-Version: 1.0
References: <CANeJNHoujwZWP9kSKY7dLTUkFxeg3nTx=8bdgmdYqFrOSxmU7g@mail.gmail.com>
 <5814fb4b-0074-6e98-ed1a-a55cd899e664@SystematicSw.ab.ca>
In-Reply-To: <5814fb4b-0074-6e98-ed1a-a55cd899e664@SystematicSw.ab.ca>
Date: Mon, 25 Jan 2021 22:12:36 +0100
Message-ID: <CANeJNHpFWPecqDoh_bteL2g0jA8xup4wfGOV39C5+kGCRVOUhg@mail.gmail.com>
Subject: Re: switching to any other than English keyboard layout is not
 handled correctly anymore on the prompt at minimum
To: cygwin@cygwin.com
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00, BODY_8BITS,
 DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM,
 HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Ariel Burbaickij via Cygwin <cygwin@cygwin.com>
Reply-To: Ariel Burbaickij <ariel.burbaickij@gmail.com>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 10PLDSI4032675

I used mintty -- default in cygwin installation as I understand.
I switch layouts by switching keyboard mappings, mappings are customized
from the standard ones to what is called "phonetic" for non-Latin alphabets
but this is handled just fine everywhere outside Cygwin.
I will be guessing here what you request from me but I attempted to type in
UTF-8  август,  basically Russian in  all small letters for August as a
more or less random but valid example. FIlename I was looking for contains
this string and filename is presented correctly as all others are with ls
but I cannot type this string in cygwin's prompt.

I hope we are coming closer to the cause here.

Best Regards
Ariel Burbaickij




On Mon, Jan 25, 2021 at 9:59 PM Brian Inglis <
Brian.Inglis@systematicsw.ab.ca> wrote:

> On 2021-01-25 05:46, Ariel Burbaickij via Cygwin wrote:
> > I tried to find some files from the command line prompt which are named
> > using various non-Latin (Russian, Hebrew, Arabic) and non-default Latin
> > (German) layouts under Windows 10 Enterprise using recent cygwin version
> > and the outcome is that instead of representing letters I see control
> > characters of the type: \263\320\321  (Unicode numeric value of the
> > letters?). Any ideas what happens here and how correct functionality can
> be
> > restored?
>
> Which command line prompt(s): cmd, mintty, rxvt, xterm, ...?
>
> Where and how did you switch layouts: Windows keyboard mapping, Windows
> system
> locale, Windows user regional settings, chcp, LANG, LC_CTYPE, LC_ALL, ...?
>
> If you are using a terminal, what are the terminal locale and code page
> settings?
>
> Maybe you could explicitly show and tell us what characters you used
> (sending in
> hex please and also in 8bit UTF-8 for maximum readability: that looks like
> octal
> which went out with ASCII, ISO-646, SBCS code pages), show us how the
> filenames
> appear including the locales and the shell command lines, and show and
> tell us
> what you expect, and what is the difference in what you see.
>
> For details on Cygwin file name special character mappings, see:
>
>         https://cygwin.com/cygwin-ug-net/using-specialnames.html
>
> --
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>
> This email may be disturbing to some readers as it contains
> too much technical detail. Reader discretion is advised.
> [Data in binary units and prefixes, physical quantities in SI.]
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
>
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

