X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7C8363854820 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian DOT inglis AT systematicsw DOT ab DOT ca X-Authority-Analysis: v=2.4 cv=Yq/K+6UX c=1 sm=1 tr=0 ts=600f3de3 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=1LvknhlggOCrCsC8bNMA:9 a=QEXdDO2ut3YA:10 a=zvuQ_vupYScA:10 a=sRI3_1zDfAgwuvI8zelB:22 To: cygwin AT cygwin DOT com References: <5814fb4b-0074-6e98-ed1a-a55cd899e664 AT SystematicSw DOT ab DOT ca> From: Brian Inglis Organization: Systematic Software Subject: Re: switching to any other than English keyboard layout is not handled correctly anymore on the prompt at minimum Message-ID: <39a7025c-4a90-2211-ae58-8e0f8fb17aaa@SystematicSw.ab.ca> Date: Mon, 25 Jan 2021 14:53:38 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-CA X-CMAE-Envelope: MS4xfPeqNSa/n0/LT7gv/FYqMLKYGqLbuVnADTQI2egQyVjQgkLN3HhItq5pBW3USjah8PNPfwJBTt/VMisN5ngO1ZXK8E4+CBm2giBcwj7jGfpuF6pPFbOy 6yc2PFy8RnxZue4PbW0jek6PtRGZiAd1z5n2XjEbr4TUJIx7UQ+e2QdE08pNCj+ihj8K9/ntm/Sb6YWK2TJY4Kj5dupGg3vcr3k= X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 10PLsCjB004772 On 2021-01-25 14:12, Ariel Burbaickij via Cygwin wrote: > On Mon, Jan 25, 2021 at 9:59 PM Brian Inglis 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 > 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. Using what utility/-ies, how and where did you customize and switch keyboard mappings: Windows keyboard mapping, Windows system locale, Windows user regional settings, readline {/etc/,~/.}inputrc? -- 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