--- ben lieb wrote:

> I asked this question before, but it wasn't really
> resolved. I often
> have to paste from Word for Windows into vim/gvim
> (cygwin).
> 
> Some characters don't transfer properly. Most
> annoyingly is that a
> single quote ( ' ) turns into this: ¿
> 
> Is there an easy way around this?
> 

Word uses Unicode characters for a lot of the quoting
items.  My initial WAG is that your vim/gvim setup is
not able to display these is your current font, or
your setup is not able to handle unicode, etc.

I would ensure that your vim/gvim setup can actually
display unicode characters.  Mine can't so it always
displays these items as: ¿

Also remember when you cut and paste in windows the
applications can be doing some conversion for you.  

When you copy in windows, Word stores the clipboard
data in many different formats, when you paste the
application needs to pick one of these formats to get
the data from.

If you are using vim in a shell then the shell is
choosing the the format to use (e.g. the cmd shell
will choose system or something like that), if you're
using gvim (and therefore the X buffer system) I have
no idea what its going to pick.



 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/

Reply via email to