Re: gitk does not recognizes ISO-8859-15

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: gitk does not recognizes ISO-8859-15

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:14

Marco Costalba [off-list ref] writes:
So here we arrive. I see two ways to deal with this:

1) *solution* make gitk use IANA names

2) *workaround* get from somewhere the list of Tcl/Tk recognized codec names and 
teach qgit to do the map from IANA when setting a codec with "git-repo-config 
i18n.commitencoding"
The intent of i18n.commitencoding is to have something that is
understood by iconv there, so if gitk does not work with these
things spelled like. ISO8859-1 or ISO-8859-15, and qgit is happy
with them, I would say that we should fix gitk, which means
*workaround* should be on the tcl/tk side.

Tcl/Tk expert may have more thoughts (and I suspect experiences)
on this, but I am not one of them.

Re: gitk does not recognizes ISO-8859-15

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2016-06-15 22:42:14

Junio C Hamano wrote:
Marco Costalba [off-list ref] writes:

quoted
So here we arrive. I see two ways to deal with this:

1) *solution* make gitk use IANA names

2) *workaround* get from somewhere the list of Tcl/Tk recognized codec names and 
teach qgit to do the map from IANA when setting a codec with "git-repo-config 
i18n.commitencoding"

The intent of i18n.commitencoding is to have something that is
understood by iconv there, so if gitk does not work with these
things spelled like. ISO8859-1 or ISO-8859-15, and qgit is happy
with them, I would say that we should fix gitk, which means
*workaround* should be on the tcl/tk side.

Tcl/Tk expert may have more thoughts (and I suspect experiences)
on this, but I am not one of them.
I would say that the only sustainable ruleset is to use IANA rules for 
character name resolutions, if multiple tools are to be able to use them.

	-hpa
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help