GNU bug report logs -
#23595
25.1.50; file with chinese/japanse chars, vc-diff fails (HG, Git, RCS)
Previous Next
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: Uwe Brauer <oub <at> mat.ucm.es>
> Cc: Dmitry Gutov <dgutov <at> yandex.ru>, oub <at> mat.ucm.es,
> 23595 <at> debbugs.gnu.org
> Date: Mon, 23 May 2016 17:00:53 +0000
>
> I thought the problem was caused by the fact that I did not entered that
> chars, but rather copied it from some tex.stackexchange site, but I see
> that was not the reason.
>
> What is about mercurial?[1]
No clue, sorry. I don't use it and don't know anything about it.
The man page says "hg diff --text" might do what you want.
> > Bottom line: users who put UTF-16 encoded files into VCS are playing
> > with fire, and are best advised not to do that!
>
> 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.
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.