delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/26/03:51:17

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F74C3AA9431
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1611651027;
bh=klC4SgwsY2FRglZi6TmedjDX2wNuzX+MHQ/f6Kzncgg=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=Mfp5S5erXrgSQjHIITZg8pXSygXYOMXCMWutd4OglRktG3j5z3RvxHRBFSCjaXQaa
69J8kweMXCaVRYe7JN8GpztSyivfxYh5qDoqlZo/LZ+JghMPCbSIViJDTVqUIrC7oW
2K756CWz8XL/0GVhqF7gOqKxFDipPx1fbg+i8+M0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 83BAF3850416
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:cc;
bh=Ux4P3e7LVUyFXOgDG3+1h3M9Dh/gXRFC/zF209h5Cvg=;
b=ive/QmrWXRuDTVcuSOkBRdwy2aimt0WRaRUWN30l7Lrl+I+gC/VGeqnhz8RaTmaCx2
k2s3BcjIHEsT0w6BtX+UZD6utKERWPyras/HemDmO4utQZfpRft5ixpwx1APdPBz7Ahu
SoVtPopgmo3aC4yXeUCuZPzASYVpE8MCtmHHDo93puV8HoohNQUWb4aoITjag45NCqHg
tdRQTMUV6kWTxjuVdWvjwnQ7poZ9AVcwaqxPjuLVO0iYhmQC53XyppOVv90xPLy/D29/
LQR5YipgYO55Qnrzexb1k4kU4yn84NiGxgoVIix2DYLTi7mzrDDqHamqk3M+T6eMm0YJ
Uu/Q==
X-Gm-Message-State: AOAM532gOKetQSgNbZSBnfbfGjyDB8gIh4usUyB82Nj9PRJjQBy1NOP5
l6epIxbXs+jucDTFE98NDt+wzgQr3CLlfizwY8Zchr7ZyLsi1g==
X-Google-Smtp-Source: ABdhPJwyVaBK9fovkV4yi5K5Y4GR8JI4US/HL+OENbz/I8Q1NesETNKVnhYWEX5Ge/aRtBycfrQo2vlasoYVQC0p3S0=
X-Received: by 2002:a05:6402:3589:: with SMTP id
y9mr3800348edc.344.1611651021697;
Tue, 26 Jan 2021 00:50:21 -0800 (PST)
MIME-Version: 1.0
References: <CANeJNHoujwZWP9kSKY7dLTUkFxeg3nTx=8bdgmdYqFrOSxmU7g AT mail DOT gmail DOT com>
<5814fb4b-0074-6e98-ed1a-a55cd899e664 AT SystematicSw DOT ab DOT ca>
<CANeJNHpFWPecqDoh_bteL2g0jA8xup4wfGOV39C5+kGCRVOUhg AT mail DOT gmail DOT com>
<39a7025c-4a90-2211-ae58-8e0f8fb17aaa AT SystematicSw DOT ab DOT ca>
<CANeJNHqS_0JwN9QAykF8zBgcfpuakG2vbYm-VtU+A5QHMoRYjQ AT mail DOT gmail DOT com>
<600F5144 DOT 1050407 AT tlinx DOT org>
In-Reply-To: <600F5144.1050407@tlinx.org>
Date: Tue, 26 Jan 2021 09:50:10 +0100
Message-ID: <CANeJNHown8H_1JBZkNqAei+4W9YgykWzK16AB2Lp9=1f_6bvcA@mail.gmail.com>
Subject: Re: switching to any other than English keyboard layout is not
handled correctly anymore on the prompt at minimum
To: L A Walsh <cygwin AT tlinx DOT org>
X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, 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 AT cygwin DOT 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 AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ariel Burbaickij via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ariel Burbaickij <ariel DOT burbaickij AT gmail DOT com>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 10Q8otmX001849

>It sounds like your program wants UTF-8, but your
>keyboard is putting out latin1.

OK, I did the following: I went to cmd.exe and changed Active code page
from 437 (latin1 ?) to 65001 (UTF-8 ?) but there were no changes in the
behaviour in Cygwin terminal. In cmd.exe itself it handles Russian and
German itself just fine also with 437 code page. For BabelMap -- I do not
see how it can be useful for regular input of non-English string and not
just one single character here and there. And again -- it is not something
that was present from day zero or somewhere close in Cygwin, it worked just
fine on my old laptop, I migrated to a new one and this is what I see for
the first time.

Best Regards
Ariel Burbaickij

On Tue, Jan 26, 2021 at 12:17 AM L A Walsh <cygwin AT tlinx DOT org> wrote:

> On 2021/01/25 14:20, Ariel Burbaickij via Cygwin wrote:
> >  and this is what I get upon attempt to submit
> > little sweet ö:
> >  $(__fzf_cd__)Ignoring redcarpet-3.4.0 because its extensions are not
> > built. ...
> >         1: from /usr/bin/fzf:929:in `get_input'
> > /usr/bin/fzf:929:in `ord': invalid byte sequence in UTF-8 (ArgumentError)
> > $
> > and I mean what I say, pressing ö immediately leads to it, no tricks, no
> > custom builds, no debugs enabled,  no nothing.
> >
> ---
>     Remember in my first post, I said that the codes you included were
> not valid UTF-8.  It sounds like your program wants UTF-8, but your
> keyboard is putting out latin1.
>
> Did you download that program I mentioned?  In there you can select
> the 'o' with diaeresis then copy/paste it into your program.
>
> The character you are inserting into your program isn't encoded in
> UTF-8, so I'm pretty sure that your keyboard isn't producing
> UTF-8 encoding.
>
> You mention that it does work after you restart your terminal.
>
> Setting in locale don't take effect in the current terminal, but in
> future ones that you start.  So it is a good idea to restart your terminal
> after you change locale.
>
> I assume the error you are showing is from a window that wasn't restarted
> after your locale was changed?
>
>
>
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019