Cannot commit in Kubuntu 19.04
Created originally on Bitbucket by athieme (André Thieme)
I’m on a fresh installation of Kubuntu 19.04 and can’t use THG to commit.
I saved my
.hgrc in UTF-8 and my name there includes
André, with an accent above the „e". What I now see in the „Author" column is
AndrÃ©. So I can see here that THG is reading this file assuming a LATIN1 encoding. But this is only one problem. The much bigger issue here is that my email address is missing in the „Author” column!
Only when I remove the
@ sign from my
.hgrc THG is able to read and display the file. When I hit the „Commit” button I see this log output:
% hg commit --verbose --message=test --user "AndrÃ© <email@example.com>" -- src/Main.hs committing files: src/Main.hs committing manifest committing changelog transaction abort! rollback completed abort: decoding near 'AndrÃ© ': 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)! [command returned code 255 Mon May 6 10:24:39 2019] testrepo%
Besides the log area I see a little window popping up which says essentially the same from the „abort:” text on.