[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode support for CVS
From: |
Larry Jones |
Subject: |
Re: Unicode support for CVS |
Date: |
Tue, 22 Oct 2002 10:47:10 -0400 (EDT) |
Da Costa Martins, Iolanda Maria writes:
>
> Should I conclude that my UTF-16 files (not the UTF-8, I know that) have to
> be binaries in CVS or could I seek for a positive answer on: yes, they can
> be handled as text.
> And then where is the problem lying when CVS complains about my commit as
> text, stating that these files should be commited as binaries?
If you're using a platform that does not distinguish between text and
binary files (Windows does, most Unix-like systems do not), then you can
handle *any* file as text. If your platform does distinguish, then you
must mark UTF-16 files as binary or risk corruption due to line-ending
conversions and, perhaps, incorrect end-of-file detection.
-Larry Jones
Life's a lot more fun when you're not responsible for your actions. -- Calvin