[Linux-disciples] vim "CONVERSION ERROR"

Chung-chieh Shan ccshan at post.harvard.edu
Fri Apr 29 14:08:57 EDT 2005


On 2005-04-29T12:06:12-0400, Stephen R Laniel wrote:
> Every now and again, typically when I copy text from a
> Microsoft Word document into vim, vim will say "CONVERSION
> ERROR" in the modeline. I just realized today that if I look
> carefully in the vim doc, I'll see an upside-down question
> mark on characters that vim had a hard time converting. If I
> fix those characters, the "CONVERSION ERROR" goes away.
> 
> My question is: can vim be made more helpful? Can it tell
> me, "We have a conversion error on line 20," for instance?

I wonder if it would help for you to save the erroneously converted file
back out and compare the text before and after the roundtrip.

	Ken

-- 
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
Science operates according to a law of conservation of difficulty. The simplest
questions have the hardest answers; to get an easier answer, you need to ask
a more complicated question. -- George Musser. Color Madness. Oddball maps can
require more than four colors. Sci. Am., January 2003.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050429/d0c26204/attachment.pgp


More information about the Linux-disciples mailing list