info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Extended characters [Solved (well, sort of)]


From: Gianni Mariani
Subject: RE: Extended characters [Solved (well, sort of)]
Date: Wed, 4 Jul 2001 13:01:49 -0700

OK - it bugged me, I tried it.

So I created a new repository, added a file with Eth in both latin-1 and
utf-8 and viola.

mkdir testrep
cd testrep
cvs -d `pwd` init
setenv CVSROOT `pwd`
cd ..
mkdir test
cvs import test v1 s1
cvs co test
echo "> character Eth (ð) into CVS." > file-latin1
conv -f latin1 -t utf8 < file-latin1 > file-utf8
cvs add *
cvs commit
cd ..
rm -rf test
cvs co test
cd test
iconv -f utf8 -t latin1 < file-utf8 > file-latin1cmp
cmp file-latin1 file-latin1cmp

- Works like a charm.

IMHO - utf-16 should never be used unless you really have to. You can always
create utf8 unicode files that are much more portable and don't require an
internationalization genious to figure out how to make apps work.

-----Original Message-----
From: Gianni Mariani [mailto:address@hidden
Sent: Wednesday, July 04, 2001 12:42 PM
To: Larry Jones; Harald Kucharek
Cc: address@hidden
Subject: RE: Extended characters [Solved (well, sort of)]



CVS should handle Unicode as utf-8. I can't think of any reason why it would
not.  Unicode (as utf-16) is probably a waste of time to support as anything
but binary.

-----Original Message-----
From: address@hidden [mailto:address@hidden Behalf Of
Larry Jones
Sent: Wednesday, July 04, 2001 10:40 AM
To: Harald Kucharek
Cc: address@hidden
Subject: Re: Extended characters [Solved (well, sort of)]


Harald Kucharek writes:
>
> Q: Are there any plans for a Unicode-capable CVS?

Not that I know of.  Are there any plans for a Unicode-capable RCS?

-Larry Jones

It's a Doofus Ignoramus!  Our hero slowly reaches for his stun blaster!
-- Calvin

_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]