Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fine-tuning gitk encoding

Tags:

git

I've created an annotated tag in gitk with the folowing message:

Plots são mostrados na mesma janela.

But now gitk shows:

Plots são mostrados na mesma janela

How to correct the encoding?

like image 230
oqrxke Avatar asked Feb 08 '15 13:02

oqrxke


1 Answers

Have you set up the git encoding correctly?

git config --global gui.encoding utf-8

Looks like you did not set it correctly. If this is the case you can still update the messages and alter them.

Annotated tag is a "real" commit so using git filter-branch with the desired flag can update your commit message to the right encoding.

Another option is directly yo update the tag message with the new message once you set up the right encoding git tag <tag name> <tag name> -f -m "<new message>"

like image 67
CodeWizard Avatar answered Nov 20 '22 14:11

CodeWizard