tech-userlevel archive

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

Re: [PATCH] replace 0xA0 to whitespace in plain text files (part 2)

On Thu, Sep 11, 2008 at 06:57:53PM +0200, Hubert Feyrer wrote:
> I can share an anecdote on that, which I recently run into with nvi 
> compiled from pkgsrc on a Debian system: When saving a file from a 
> non-default locale (say, when you've read a Latin1 file with UTF8 as 
> default), nvi starts saving the file, and aborts when it comes to the 
> Latin1 character. After that, the on-disk file is truncated, and the file 
> in the editor cannot be saved. ``Thank you for killing my file!''

The problem with this anecdote is -- we have the same behaviour in the
NetBSD base system nowadays as well. :|

Home | Main Index | Thread Index | Old Index