Skip to content

Commit 2473543

Browse files
committed
git-gui: avoid mis-encoding the copyright message on Windows.
On Windows the tcl script file will use the system encoding and attempting to convert the copyright mis-encodes the string. Instead, keep the message as ASCII and substitute in the correct unicode character when running. Signed-off-by: Pat Thoyts <[email protected]>
1 parent 421a31e commit 2473543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git-gui.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
exec wish "$argv0" -- "$@"
1111

1212
set appvers {@@GITGUI_VERSION@@}
13-
set copyright [encoding convertfrom utf-8 {
14-
Copyright © 2006, 2007 Shawn Pearce, et. al.
13+
set copyright [string map [list (c) \u00a9] {
14+
Copyright (c) 2006-2010 Shawn Pearce, et. al.
1515

1616
This program is free software; you can redistribute it and/or modify
1717
it under the terms of the GNU General Public License as published by

0 commit comments

Comments
 (0)