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

Re: Committed files with wrong charset



On Thu, Sep 02, 2004 at 11:02:41PM +0300, Tommi Vainikainen wrote:
> I accidentally committed two files, finnish/ports/index.wml and
> finnish/ports/freebsd/index.wml, with charset problems. Latter one was
> UTF-8 encoded, but should be ISO-8859-15. First one had some strange
> Emacs chars.
> 
> My problem is that
> 
> ...ports/freebsd$ cvs diff index.wml
> ...ports/freebsd$ recode utf8..latin9 index.wml
> ...ports/freebsd$ cvs diff index.wml
> 
> So, cvs doesn't detect any changes after recoding file to correct
> charset. Therefore I cannnot commit correct version. What should I do?
> Remove file and add again?

That's weird.
A simpler solution is add an empty line at the end of your file.

Denis



Reply to: