delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/06/23/09:46:15

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D9FED3986431
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1624455972;
bh=j7qHh6iyYOYxqdotKoorcbrlva/OBtJu3YWbRSnJMmk=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=hYsN1Z27lpsqupkUiQ623NjkqpI8ia8K+Gz77Tre8+t7w+MgxO6jBv3ROcNw3RD8L
f6gnPEfqq9vwVGMhxqqkED+3MsARQxQpCSBBP3voZ9Z4wAcrdg7gZQDh8fGgC6WBsc
Y00BvwF7LyWp/UHcCs/IzE4gdMsYXMliqp9asVeU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 277873857836
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: getclip and putclip garble unicode characters
Thread-Topic: getclip and putclip garble unicode characters
Thread-Index: AddoNN8dUidQoEiqTx6xJKaDlsTnng==
Date: Wed, 23 Jun 2021 13:45:32 +0000
Message-ID: <af6d2888db8e4256b8c24064389aed9b@severstal.com>
Accept-Language: en-GB, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.120.77.3]
x-kse-serverinfo: chr-mail-m07.severstal.severstalgroup.com, 9
x-kse-attachmentfiltering-interceptor-info: protection disabled
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean, bases: 6/23/2021 12:06:00 PM
x-kse-bulkmessagesfiltering-scan-result: protection disabled
MIME-Version: 1.0
X-KSE-ServerInfo: chr-exch-edg1.severstal.severstalgroup.com, 9
X-KSE-Attachment-Filter-Triggered-Rules: Clean
X-KSE-Attachment-Filter-Triggered-Filters: Clean
X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled
X-Spam-Status: No, score=1.7 required=5.0 tests=BAYES_50, HTML_MESSAGE,
KAM_DMARC_NONE, KAM_DMARC_STATUS, SPF_HELO_NONE,
SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2
X-Spam-Level: *
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: =?utf-8?b?0JzQuNGA0L7QvdC+0LIg0JvQtdC+0L3QuNC0INCS0LvQsNC00LjQvNC40YA=?=
=?utf-8?b?0L7QstC40YcgdmlhIEN5Z3dpbg==?= <cygwin AT cygwin DOT com>
Reply-To: =?utf-8?B?0JzQuNGA0L7QvdC+0LIg0JvQtdC+0L3QuNC0INCS0LvQsNC00LjQvNC40YA=?=
=?utf-8?B?0L7QstC40Yc=?= <lv DOT mironov AT severstal DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

getclip and putclip from cygutils-extra garble unicode characters: non-latin characters copied to clipboard in windows are replaced with question marks when retrieved with getclip in cygwin, and non-latin characters copied to clipboard using putclip are pasted it in windows looking like utf-8 displayed in cp1252 but can be retrieved with getclip exactly as pasted, so it looks like the problem is not in the way the data is copied but in the way cygwin and windows communicate text encoding to each other. LC_CTYPE=en_US.UTF-8, windows ANSI codepage is set to cp1251 - 1251, not 1252.


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