delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/25/13:41:45

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.4.1 sourceware.org 155EC385742D
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=EuoXEQQA c=1 sm=1 tr=0 ts=612680bc
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17
a=IkcTkHD0fZMA:10 a=5KLPUuaC_9wA:10 a=aulWLQ49AAAA:20 a=8pif782wAAAA:8
a=yMhMjlubAAAA:8 a=uYT-Tk0qkVT609LjNaIA:9 a=7Zwj6sZBwVKJAoWSPKxL6X1jA+E=:19
a=QEXdDO2ut3YA:10
To: cygwin AT cygwin DOT com
References: <CALLU6TN-kfUnKhWiZASE=Tr0t9jQAsVafVZ_CwdnggjgiURMZA AT mail DOT gmail DOT com>
<b2de25ba-ff20-cbc0-6933-ae442ae36813 AT towo DOT net>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
Subject: =?UTF-8?B?UmU6IEJ1ZzogRW1vamlzICjwn5iBKSBhcmUgcmVwbGFjZWQgYnkgdW5p?=
=?UTF-8?Q?code_replacement_character_=28=ef=bf=bd=29_on_Windows_Terminal?=
Message-ID: <3635edde-1cab-1860-25ac-5aeea606a99c@SystematicSw.ab.ca>
Date: Wed, 25 Aug 2021 11:41:13 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <b2de25ba-ff20-cbc0-6933-ae442ae36813@towo.net>
X-CMAE-Envelope: MS4xfJx06T2ZH+xRDeihaSGUTRnydD4lwvaxIDco/Rw20xTzVKsfMgfsNCbiVYnFC0bpyhTLLHG6213GROH+pTGjxdv2X8ITZTRL7VLEmer4sbgT6I8ZLNBx
NLTO0Bvelb/X1HFRNgS/2dQEknj9O/v5IlkW3RTMgtwN0S3y8BqcSos/551Wd6apcOPawRUzU8+5pIMRpD8waroE5KXh9/Klyjo=
X-Spam-Status: No, score=-1167.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL,
RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE,
TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 2021-08-25 07:50, Thomas Wolff wrote:
> Am 25.08.2021 um 13:48 schrieb Rafael Kuhn via Cygwin:
>> Using the shell that comes embedded with 'Git for windows' (that includes
>> Cygwin) and opening it in Windows Terminal, there's a bug that 
>> prevents me
>> from pasting types of unicode characters like emojis in the terminal.
>>
>> I've opened a ticket in the git-for-windows repo and after testing 
>> over the
>> problem they concluded it was Cygwin's problem and told me to report it
>> here (ticket link below).
>> https://github.com/git-for-windows/git/issues/3281
>>
>> The complete description of the problem from people that understand it 
>> more
>> than I actually do is in the ticket.
>>
>> I'm including cygcheck.out like your guide suggests.
>> Thank you for your time, cheers.
>>
> I doubt this is a cygwin issue. Do any emojis run in that environment? 
> Does it work in the "Git Bash" terminal? Why would you run git bash in 
> Windows Terminal?

Works Just Fine For Me under mintty, configured with charset encoding 
UTF-8 (for Windows cmd use chcp 65001 IIRC), font DejaVu Sans Mono 
(Cygwin package dejavu-fonts).

Depending on your font selection, you may have to add fallbacks, using 
Windows font linking (below); using e.g. GNU Unifont (Cygwin package 
unifont-fonts), Unicode BMP Fallback SIL font, and Apple's Unicode Last 
Resort font; see:

	https://en.wikipedia.org/wiki/Fallback_font

	https://docs.microsoft.com/en-us/globalization/input/font-technology#font-linking

MS has added Seguiemj.ttf "Segoe UI Emoji" containing some recent emojis 
to recent Windows.

NOTE: Cygwin font installation only makes it available to Cygwin console 
graphics (e.g. gnuplot, R) and GUI apps using libfontconfig, it does not 
make it available to Windows apps, you have to install the OTF/TTF files 
manually from Explorer as usual.

-- 
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

- Raw text -


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