Re: Win32 clipboard and pasting unicode from other apps
- Wow! Does that mean that we the plebes can expect some forthcoming release
of gvim to "talk" properly to the W32 clipboard when the current 'encoding'
is utf-8 ? If true, that would definitely be A Good Thing! (My current gvim
VIM - Vi IMproved 6.1 (2002 Mar 24, compiled Mar 24 2002 16:04:44)
MS-Windows 32 bit GUI version with OLE support
as distributed in binary, cannot properly talk to the clipboard in Unicode,
in order, for instance, to copy/paste to/from a utf8 Outlook Express
message. I was treating that until now as one of the limitations of the W32
----- Original Message -----
From: "Bram Moolenaar" <Bram@...>
To: "Glenn Maynard" <glenn@...>
Sent: Thursday, November 14, 2002 11:00 PM
Subject: Re: Win32 clipboard and pasting unicode from other apps
> Glenn Maynard wrote:
> > On Thu, Nov 14, 2002 at 10:18:02PM +0100, Bram Moolenaar wrote:
> > > Sorry, my mistake. I can't seem to find a patch for Win32. Maybe it
> > > was only suggested, not implemented.
> > I implemented it a while back. I just updated my source tree; attached
> > is the patch. It's mostly unchanged from back then, I think.
> Thanks. I'll now make a note that I can retrieve! I apparently mixed
> up the notes about patches for the GTK and Win32 clipboard.
> Micro$oft: where do you want to go today?
> Linux: where do you want to go tomorrow?
> FreeBSD: are you guys coming, or what?
> /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net
> /// Creator of Vim - Vi IMproved -- http://www.vim.org
> \\\ Project leader for A-A-P -- http://www.a-a-p.org
> \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html
- Glenn Maynard wrote:
> > Can you check the changes for enc_codepage and send me a patch again?That has a catch 42 problem: I would like to test the whole thing before
> > Preferably against the current version with the Unicode clipboard patch
> > included.
> I'll run over it and send it again. It'd be easiest if you could commit
> the clipboard patch to CVS, so I can diff from there.
sending the patch into the world.
> > I'm actually more worried about plain mistakes in the code. I did someI didn't change the way it handles the clipboard. It's mostly the
> > cleaning up and could not test it all.
> I got it to apply (along with the strlen fix), and it's worked in a few
> cursory tests (copying and pasting JP text with enc=utf-8 and enc=cp932).
> I suspect you'll want more testing in 9x, which I can't do here ...
various conversions that need to be checked, including iconv().
hundred-and-one symptoms of being an internet addict:
156. You forget your friend's name but not her e-mail address.
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///