Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tig with locale ISO8859-2 on AIX #1314

Open
arozehnal opened this issue Feb 8, 2024 · 0 comments
Open

tig with locale ISO8859-2 on AIX #1314

arozehnal opened this issue Feb 8, 2024 · 0 comments

Comments

@arozehnal
Copy link

arozehnal commented Feb 8, 2024

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: [email protected]
Date: Thu Feb 8 12:45:11 2024 +0100

vlození ĚŠČŘŽÝÁÍÉ

commit 8b4ab7ecab6775e8c7edb90578c8b8047ed9d65c
Author: [email protected]
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: [email protected]
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: [email protected]
Date: Thu Feb 8 12:30:30 2024 +0100

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

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

Refs: [master]
Author: [email protected]
AuthorDate: Thu Feb 8 12:45:11 2024 +0100
Commit: [email protected]
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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant