[cvsnt] Re: why I can't get the filename include chinese character in output of "cvs history"

Tony Hoyle tmh at nodomain.org
Wed Apr 9 10:53:54 BST 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.


On Wed, 09 Apr 2003 13:56:16 +0800, zhuyunchuan <zhuyunchuan at 263.net> wrote:

>I checked the file "history" in CVSROOT of CVS repo and found that the
>filename with Chinese character recorded correctlly. why was the Chinese
>character replaced by space or null?
>
You can't store chinese filenames in CVS.  It's a limitation of the platform,
really...  NT only supports Unicode (which requires you to rewrite most of
your code) or ANSI (which is dependent on codepage & 8bit only), unlike Unix
which encodes extended characters as Utf8 and so tends to work OK.

There's also no codepage information stored with the RCS comment fields, which
makes the entire repository non-portable across languages...  so it's not just
chinese that has the problem.

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