[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


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