微调gitk编码

oqr*_*xke 9 git

我已经在gitk中创建了一个带注释的标签,其中包含以下消息:

情节sãmostradosna mesma janela.

但现在gitk显示:

Plotssão mostrados na mesma janela

如何更正编码?

Cod*_*ard 16

你正确设置了git编码吗?

git config --global gui.encoding utf-8
Run Code Online (Sandbox Code Playgroud)

看起来你没有正确设置它.如果是这种情况,您仍然可以更新消息并更改它们.

带注释的标记是一个"真正的"提交,因此使用git filter-branch所需的标志可以将您的提交消息更新为正确的编码.

另一个选项是在设置正确的编码后直接使用新消息更新标记消息 git tag <tag name> <tag name> -f -m "<new message>"