This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 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]

[PATCH] Copy and Paste with iconv


Hello,

This patch make xwinclip convert clipboard text encoding using libiconv, 
so perhaps you can copy and paste non-ASCII characters on Win9x.
But I don't have Win9X, I haven't tested it yet.

I could copy and paste Unicode text on NT/2000/XP, but CJK characters
sometimes become other CJK characters because of Han Unification.
This patch fix this problem.

For example, I use following command line option on Windows XP.
LANG=ja_JP.eucJP
XWin -clipboard -nounicodeclipboard -winencoding SHIFT_JIS -xencoding EUC-JP

Test on other language environment and 9x platform needed.

Kensuke Matsuzaki

Attachment: clipboard_libiconv.diff
Description: Binary data


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