[cvsnt] Unicode support?

Gerhard Fiedler lists at connectionbrazil.com
Tue Aug 22 21:13:58 BST 2006


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.


Hello,

in my configuration, a utf-8 file added as Unicode ("add -ku") will be
encoded as utf-16 on checkout. 

Both files have a header: utf-8: 0xef 0xbb 0xbf (3 bytes), utf-16: 0xff
0xfe (2 bytes). The size of the utf-8 file is (before checkin) 26=3+23, the
size of the utf-16 file is (after checkout) 48=2+2*23. (And of those 46
bytes that follow the header, every other byte is 0 because the content
consists of only ASCII characters.)

This is bad, because a number of files (XML, HTML etc) have the encoding
specified in a header as part of the content. So after a checkout, there's
"utf-8" specified in the file, but the actual encoding is now utf-16.

Is this normal? Or is there something that can be done about this?

p:\>cvs ver
Client: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2151
(client/server) [WinXP]
Server: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2151
(client/server) [Win2k]

Thanks,
Gerhard


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