Re: Win32 clipboard and pasting unicode from other apps
- On Mon, Nov 18, 2002 at 10:16:09AM -0000, Beck, Zak wrote:
> That works really well. Copying / pasting from Word now works as expectedThanks; I did the same.
> with Unicode e.g. Japanese.
> One thing: I compile with MingW, which in the version I have installed,
> doesn't seem to have GlobalDiscard in it's link library for some reason (not
> sure why at this point). I changed the GlobalDiscard's to GlobalFree's
> (which are nearly the same for this use) and it links ok.
- 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 ///