From: Mark Geisert <mark@maxrnd.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7
Date: Sun, 26 Sep 2021 02:43:20 -0700 [thread overview]
Message-ID: <f98f5084-50f8-313a-f747-0b428c95fb37@maxrnd.com> (raw)
In-Reply-To: <20210925162354.27f3b28c283470805d965d11@nifty.ne.jp>
Hi Takashi,
Takashi Yano via Cygwin wrote:
> On Sat, 25 Sep 2021 13:31:25 +0900
> Takashi Yano wrote:
[...]
> I noticed that putclip/getclip have another problem.
>
> These utils assume the charset is always UTF-8, however, cygwin
> supports locales which charset is not UTF-8 (such as CP932, EUC-JP,
> CP850, CP1251, etc.).
>
> Therefore, what abount using mbstowcs/wcstombs rather than
> MultiByteToWideChar/WideCharToMultiByte like the patch attached?
Oh, that's how /dev/clipboard does the translations. I like that very much and
will apply your patch as part of an upcoming -8 release of cygutils.
..mark
next prev parent reply other threads:[~2021-09-26 9:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-23 6:37 Mark Geisert
2021-09-25 4:31 ` Takashi Yano
2021-09-25 7:23 ` Takashi Yano
2021-09-25 8:12 ` Takashi Yano
2021-09-26 9:44 ` Mark Geisert
2021-09-26 9:43 ` Mark Geisert [this message]
2021-09-26 9:40 ` Mark Geisert
2021-09-26 18:41 ` Doug Henderson
2021-09-27 0:46 ` Westcoast Human
2021-09-27 6:13 ` Brian Inglis
2021-09-27 6:29 ` Brian Inglis
2021-09-27 20:00 ` Richard Beels
2021-09-27 20:00 ` Richard Beels
2021-09-27 20:00 ` Richard Beels
2021-09-27 10:10 ` Takashi Yano
2021-09-27 11:07 ` Takashi Yano
2021-09-28 3:58 ` Westcoast Human
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=f98f5084-50f8-313a-f747-0b428c95fb37@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).