[PATCH] Copy and Paste with iconv

Kensuke Matsuzaki zakki@peppermint.jp
Thu Oct 9 16:23:00 GMT 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clipboard_libiconv.diff
Type: application/octet-stream
Size: 16475 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20031009/b6d8f605/attachment.obj>


More information about the Cygwin-xfree mailing list