jonas / tig

Text-mode interface for git
https://jonas.github.io/tig/
GNU General Public License v2.0
12.41k stars 606 forks source link

tig with locale ISO8859-2 on AIX #1314

Open arozehnal opened 7 months ago

arozehnal commented 7 months ago

i am runnig my own build tig-2.5.8-5 on AIX 7.2. My locale settings locale charmap ISO8859-2 locale LANG=cs_CZ LC_COLLATE="cs_CZ" LC_CTYPE="cs_CZ" LC_MONETARY="cs_CZ" LC_NUMERIC="cs_CZ" LC_TIME="cs_CZ" LC_MESSAGES=C LC_ALL=

My test file - soubor $ cat soubor ěščřžýáíé other line ĚŠČŘŽÝÁí

git log from AIX cmdline is OK $ git log commit bcffa9e66cd6c77cd6dacb6071e78705e89b498a (HEAD -> master) Author: xyz@mail.com Date: Thu Feb 8 12:45:11 2024 +0100

vlození ĚŠČŘŽÝÁÍÉ

commit 8b4ab7ecab6775e8c7edb90578c8b8047ed9d65c Author: xyz@mail.com Date: Thu Feb 8 12:30:30 2024 +0100

vlození ěščřžýáíé

similar action in tig tig view-log|view diff - the appearance of the letters is distorted

commit 8b4ab7ecab6775e8c7edb90578c8b8047ed9d65c Author: axyz@mail.com Date: Thu Feb 8 12:30:30 2024 +0100

vlozenĂ­ Ä ĹĄÄ Ĺ ĹžĂ˝ĂĄĂ­ĂŠ

soubor | 2 ++ 1 file changed, 2 insertions(+)

1 file changed, 1 insertion(+)

commit 8b4ab7ecab6775e8c7edb90578c8b8047ed9d65c Author: xyz@mail.com Date: Thu Feb 8 12:30:30 2024 +0100

vlozenĂ­ Ä ĹĄÄ Ĺ ĹžĂ˝ĂĄĂ­ĂŠ

soubor | 2 ++ 1 file changed, 2 insertions(+)

Refs: [master] Author: xyz@mail.com AuthorDate: Thu Feb 8 12:45:11 2024 +0100 Commit: xyz@mail.com CommitDate: Thu Feb 8 12:45:11 2024 +0100

vlozenĂ­ Ä Ĺ Ä Ĺ Ĺ˝Ă Ă Ă Ă

soubor | 1 + 1 file changed, 1 insertion(+)

diff --git a/soubor b/soubor index 8725127..c603a8d 100644 --- a/soubor +++ b/soubor @@ -1,2 +1,3 @@ Ä ĹĄÄ Ĺ ĹžĂ˝ĂĄĂ­ĂŠ +other line Ä Ĺ Ä Ĺ Ĺ˝Ă Ă Ă­Z

Is it possible to get the tig to display the characters correctly?