This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: utf-8 support with getclip?


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.

Andy

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]