From: Mark Geisert <mark@maxrnd.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-5
Date: Thu, 26 Aug 2021 12:08:24 -0700 [thread overview]
Message-ID: <f6fa64ef-c389-a2c0-f955-e7824ac84c9b@maxrnd.com> (raw)
In-Reply-To: <20210826190703.b4ada3ba0f8a73daadf0b14d@nifty.ne.jp>
Hi Takashi,
Takashi Yano via Cygwin wrote:
> I tested 1.4.16-5 and found another problem in putclip.
>
> If non-ASCII chars are passed to putclip, clip board
> has garbage at the end.
>
> Run 'echo αβγ | putclip', then paste clip board to
> notepad. 'αβγ' is pasted with a few bytes of garbage.
>
> It seems that the longer non-ASCII string generages longer
> garbage.
>
> Running 'echo αβγαβγαβγαβγαβγαβγ | putclip'
> and pasting clip board here, results something like:
>
> αβγαβγαβγαβγαβγαβγ
> z⊨z⊨z⊨z⊨z⊨zἰz⊨z᪨zἰ
>
> Sometimes, error message:
> "Couldn't write CF_TEXT format to the clipboard."
> is shown.
>
> My locale is "ja_JP.UTF-8".
>
> Could you please have a look?
Thanks for the report and especially the testcase. I can reproduce this.
Something like 'cat foo | putclip' where the file foo contains Unicode does work.
It's the use of 'echo' with Unicode chars that fails. I'll add that testcase to
my procedures and respin -5 with the fix when ready.
..mark
prev parent reply other threads:[~2021-08-26 19:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-26 5:21 Mark Geisert
2021-08-26 10:07 ` Takashi Yano
2021-08-26 19:08 ` Mark Geisert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f6fa64ef-c389-a2c0-f955-e7824ac84c9b@maxrnd.com \
--to=mark@maxrnd.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).