delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/25/18:18:35

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 D5D64385803F
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=tlinx.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cygwin AT tlinx DOT org
Message-ID: <600F5144.1050407@tlinx.org>
Date: Mon, 25 Jan 2021 15:16:20 -0800
From: L A Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: Ariel Burbaickij <ariel DOT burbaickij AT gmail DOT com>
Subject: Re: switching to any other than English keyboard layout is not handled
correctly anymore on the prompt at minimum
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>
In-Reply-To: <CANeJNHqS_0JwN9QAykF8zBgcfpuakG2vbYm-VtU+A5QHMoRYjQ@mail.gmail.com>
X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
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-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>
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 10PNID4g015241

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