There is a C # project under Visual Studio located in the git repository. The source files are UTF-8 encoded by default, with several win1251 text files available.

When viewing the changes with the gitk tools from the git-scm suite, the win1251 files containing the Cyrillic alphabet were displayed correctly. But for files with the code *.cs (UTF-8) in this part doodles were drawn.

After installing the default encoding for the GUI part of the git command:

 git config --global gui.encoding utf-8 

files *.cs began to appear normally. But the problem has moved to plain text files. In this regard, the question:

Is it possible in gitk simultaneously correctly display files in different encodings?

  • and can convert them to normal encoding? - KoVadim
  • @KoVadim I did it, but at the same time, when viewing old revisions, problems still remain. - 伪位蔚蠂慰位蠀蟿

0