X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,SARE_SUB_ENC_UTF8 X-Spam-Check-By: sourceware.org Message-ID: <4F8F59B8.5060900@cwilson.fastmail.fm> Date: Wed, 18 Apr 2012 20:18:00 -0400 From: Charles Wilson Reply-To: Charles Wilson User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: utf-8 support with getclip? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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...) -- Chuck [*] Patches Desperately Solicited. -- 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