[cvsnt] Unicode support?
lists at connectionbrazil.com
Tue Aug 22 21:13:58 BST 2006
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?
Client: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2151
Server: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2151
More information about the cvsnt