[ANNOUNCEMENT] Updated: cygutils 1.4.16-7

Mark Geisert mark@maxrnd.com
Sun Sep 26 09:43:20 GMT 2021


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


More information about the Cygwin mailing list