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
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple