Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 5

Displaying a text

Solved! Go to Solution.

Hello everybody,

See how my log is displayed :gitlog.jpg

 

 

I read there https://github.com/gitextensions/gitextensions/wiki/Git-Encoding

that the solution exists, but is no more integrated in Git.

What is the matter ?

 

4 Replies
Moderator
Message 2 of 5

Re: Displaying a text

Hi @Gluups thank you for reaching out. Looking at the screen shot and the information provided, I could make out that there is something related to encoding which you are facing. Could you please help provide more context on what is it you are trying to achieve so that we could seek out a right solution for the issue you are facing? :) 

Copilot Lvl 2
Message 3 of 5

Re: Displaying a text

Hello,

Well, my system is Windows 10 1803, 64 bits.

I tried CHCP 65001, CHCP 1252, CHCP 28591, with the fonts Consolas and Lucinda Console, in the properties of the console. In all cases the display is the same.

And I presume what I want to try is visible on the screen copy : execute the "git log" command.

 

 

Solution
Moderator
Message 4 of 5

Re: Displaying a text

Hey @Gluups thanks for reverting quickly with more details. I had done some research to the problem you are facing and would suggest you to try the following in your terminal

 

set LC_ALL=C.UTF-8

 

and then retry the git log command.

 

For some context and understanding the links below have some good explanation:

 

git log output encoding issues

 

what does LC_ALL=C do?

 

Hope this helps. Please let us know if it works out. Good luck!

~ppremk

Copilot Lvl 2
Message 5 of 5

Re: Displaying a text

Jolly good !

Thank you.

 

The only difficulty, to make that permanent, is that some dialog boxes are higher than the screen, and I had to blindly target the OK button with the tab key.

 

I did it, and shall now have time to discover the reading you propose.

 

In case somebody needs it for Windows 10 : in the explorer, right click on the node of the machine, then properties.

Advanced system parameters. You arrive on the "System properties" dialog box ; I guess there is a better shortcut for it, that I do not know for Windows 10.

In the "Advanced System Parameters" tab, you have got an "Environment variables" button, that opens a dialog box of the same name. You have to pay attention that one part of this dialog box is for the current user, and the other one for all users (provided you are administrator). In the part you choose, clic on new, put "LC_ALL" in the first field of the new dialog box, and "C.UTF-8" in the second field (without quotation marks, I presume you guess ; to rather copy/paste from what you gave than from what I copied via the keyboard). Validate twice.