Open dave12311 opened 4 years ago
Hi, could you provide a screenshot where a bad character encoding is visible and maybe a public git repo with this issue ?
I tried with ungit git repo and it is displayed correctly
It's supposed to be Horváth Dávid
It is fine using git log --show-signature
And this repo should have signed commits:
https://github.com/dave12311/DnD-5e-LaTeX-Monster-Creator
@dave12311 can you please share your public key B5FAE25D2D4E6440
so we can try to reproduce it?
By using LC_ALL=C
(which was introduced in https://github.com/FredrikNoren/ungit/pull/1208) the charset is also reset to ASCII according to https://unix.stackexchange.com/a/87763 which does not support these special characters.
In the C locale, characters are single bytes, the charset is ASCII
On Ubuntu / macOS I have found a workaround by using LANGUAGE=en_US.UTF-8
instead but I am not sure if that will work on other distros / OSs too.
It also might be an issue with git, because in commit messages it works fine with LC_ALL=C
:
@campersau If you have a branch with that change, I can test it on Windows.
@Hirse here it is: https://github.com/FredrikNoren/ungit/compare/env_language
I just noticed that it works fine in the VS Code extension.
The tooltips for the verified PGP icon do not display the "PGP by:" text in the correct character encoding.