X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.1 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,SARE_SUB_ENC_UTF8,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4F905EFA.4040906@towo.net>
Date: Thu, 19 Apr 2012 20:52:42 +0200
From: Thomas Wolff <towo@towo.net>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: utf-8 support with getclip?
References: <CAGHJv4dKqt_oVmb+gYZXvUfmy1q0HXimyg-UxLqEO04DAZALLQ@mail.gmail.com>	<CAGHJv4dzUGMfZXf+vrZSPgE-iA98PdO02P8w5NjEiAbi2xyT_w@mail.gmail.com> <CAHWeT-buDG4W9HHuHxH0VuJ93Bt4srpCh8moR-s=hY7FHHFKiA@mail.gmail.com> <4F8F59B8.5060900@cwilson.fastmail.fm>
In-Reply-To: <4F8F59B8.5060900@cwilson.fastmail.fm>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Am 19.04.2012 02:18, schrieb Charles Wilson:
> On 4/18/2012 8:06 AM, Andy Koppe wrote:
>> On 17 April 2012 13:35, Chris Sutcliffe wrote:
>>> I'm having an issue with getclip and pasting utf-8 strings (like
>>> "PONIEDZIAŁEK" for example).  Using mintty and right clicking I get
>>> exactly what's in the clipboard.  If I call getclip from the command
>>> line, I get PONIEDZIA?EK.  My LANG is set to en_CA.UTF-8.
>> Yep, getclip (and putclip) don't have Unicode support (yet?), so
>> characters outside your system's ANSI codepage end up as question
>> marks.
>>
>> The special /dev/clipboard device does have Unicode support though, so
>> you could just use 'cat /dev/clipboard' instead of getclip.
> It would be nice if putclip/getclip COULD speak Unicode.  PTC. Indeed,
> PDS.  (Ditto mkshortcut, lpr, readshortcut...)
For the clipboard, this would be trivial to achieve; I had recently made 
a suggestion: http://cygwin.com/ml/cygwin/2012-03/msg00648.html
Thomas

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

