[cvsnt] Re: Bug handling UNICODE files

Tony Hoyle tony.hoyle at march-hare.com
Wed Sep 28 15:54:08 BST 2005


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.


Daniele_Cortecchia at sacmi.it wrote:
> I found a problem using cvsnt release 2.5.0.2 build 2099 (both client and 
> server) under win xp sp2:
> after committing an UNICODE file all '\r' are not filtered and then the 
> same file obtained from server present newline as '\r\r\n' and not '\r\n'.

This works for me.  Can you show what you are doing to cause this?

Example:
(Create unicode file in notepad)
 > cvs add -ku test.txt
 > cvs commit -m "" test.txt
 > od -t x1 test.txt
0000000 ff fe 61 00 62 00 63 00 0d 00 0a 00 64 00 65 00
0000020 66 00 0d 00 0a 00 67 00 68 00 69 00 0d 00 0a 00
0000040
 > del test.txt
 > cvs up test.txt
 > od -t x1 test.txt
0000000 ff fe 61 00 62 00 63 00 0d 00 0a 00 64 00 65 00
0000020 66 00 0d 00 0a 00 67 00 68 00 69 00 0d 00 0a 00
0000040
 > cvs up -kkv test.txt    (convert to utf8)
0000000 ef bb bf 61 62 63 0d 0a 64 65 66 0d 0a 67 68 69
0000020 0d 0a

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