[cvsnt] wrong character in XML header removed automatically with a checkout

David Somers dsomers at omz13.com
Fri Jul 28 17:40:32 BST 2006


Stéphane Nicoll wrote:

> Hi,
>  
> A commit has introduced a wrong character apparantely and I am unable to
> remove it. I have tried to remove the file from cvs then readd a clean
> copy without success.
>  
> The ,v file contains the following for the latest revision of this file:
>  
> 1.21
> log
> @Removing wrong char.
> @
> text
> @<?xml version="1.0" encoding="UTF-8" ?>

Its a UTF-8 BOM.

> When I perform a checkout on this file, a simple editor does not show the
> character and the XML file is parsed properly (internet explorer, maven).
>  
> So far it seems harmless but I would like to remove it.

Why? BOMs are helpful.

Just out of curiosity, why are you peeking into the repository files?
Peeking them leads to poking, and then problems really happen.

-- 
David Somers
typographer/programmer/whatever


More information about the cvsnt mailing list