GNU bug report logs - #23595
25.1.50; file with chinese/japanse chars, vc-diff fails (HG, Git, RCS)

Previous Next

Package: emacs;

Reported by: Uwe Brauer <oub <at> mat.ucm.es>

Date: Sat, 21 May 2016 13:03:01 UTC

Severity: normal

Found in version 25.1.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Uwe Brauer <oub <at> mat.ucm.es>
Cc: 23595 <at> debbugs.gnu.org
Subject: bug#23595: 25.1.50; file with chinese/japanse chars, vc-diff fails (HG, Git, RCS)
Date: Tue, 24 May 2016 05:33:05 +0300
> From: Uwe Brauer <oub <at> mat.ucm.es>
> Date: Mon, 23 May 2016 20:37:29 +0000
> 
> >>> "Eli" == Eli Zaretskii <eliz <at> gnu.org> writes:
>    >> Right, I see, that was just 2 chars in a document which contained
>    >> latin-1 or UTF8. So Chinese and Japanese programmers are in a
>    >> disadvantage, no?
> 
>    > Why?  UTF-8 supports Chinese just fine.
> 
> Now I am confused. In my poor understanding I thought UTF-16 is needed
> for Chinese and Japanese. That seems not to be the case?!

No, it's not the case.  UTF-8 and UTF-16 both support the same space
of Unicode codepoints.

> So the problem I reported was caused by the fact that I used UTF-16
> instead of UTF-8?

Yes!




This bug report was last modified 9 years and 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.