tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: vi: invalid conversion, truncated file



On Sat, May 15, 2010 at 12:39:04PM +0200, Thomas Klausner wrote:
> Hi!
> 
> When opening a file in vi in a UTF-8 environment, doing changes and
> saving-and-quitting, I sometimes open files that are not valid UTF-8
> files (e.g. iso-8859-1).
> 
> vi then claims "invalid conversion" and truncates the file at the
> first invalid character.

Does this happen at reading or writing?

        -is


Home | Main Index | Thread Index | Old Index