[cvsnt] linefeed convert on Unicode files

Tony Hoyle tmh at nodomain.org
Mon Jan 6 09:57:15 GMT 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Roger I Martin PhD wrote:

> Hi,
> 
> When -ku option is used during a commit, linefeeds 0x000A
> are converted to 0x000D, 0x000A. When the file is pulled
> back out of cvs, NetBeans makes these go to 0x0D, 0x0A
> which then causes javac to not be able to compile.
> Netbeans likes Unicode files to have 0x000A to terminate
> lines.
> 
> Is there a way to turn off conversions of linefeeds for
> Unicode files commited with -ku?
> 
That sounds like a rather nasty Netbeans bug - have you reported it to them?
(0x0d0a isn't a valid unicode character and should never be written).

You can use the --lf switch to cvs to checkout with unix line endings, which
is what WinCVS uses.  Use this sparingly, though, as it can cause all sorts
of headaches mixing line endings.

Tony




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook