summaryrefslogtreecommitdiff
path: root/git-gui.sh
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2010-09-13 19:41:42 (GMT)
committerPat Thoyts <patthoyts@users.sourceforge.net>2010-09-13 19:41:42 (GMT)
commit2473543caabe63a9787e7ac42765c8f7169d7197 (patch)
tree5cd082ce2e91eb2fa258566cc60b1ebd2dfad985 /git-gui.sh
parent421a31e22dc7b130b7ce239f7fbc28e43c9556c3 (diff)
downloadgit-2473543caabe63a9787e7ac42765c8f7169d7197.zip
git-2473543caabe63a9787e7ac42765c8f7169d7197.tar.gz
git-2473543caabe63a9787e7ac42765c8f7169d7197.tar.bz2
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 <patthoyts@users.sourceforge.net>
Diffstat (limited to 'git-gui.sh')
-rwxr-xr-xgit-gui.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-gui.sh b/git-gui.sh
index 0d5c5e3..4617f29 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -10,8 +10,8 @@
exec wish "$argv0" -- "$@"
set appvers {@@GITGUI_VERSION@@}
-set copyright [encoding convertfrom utf-8 {
-Copyright © 2006, 2007 Shawn Pearce, et. al.
+set copyright [string map [list (c) \u00a9] {
+Copyright (c) 2006-2010 Shawn Pearce, et. al.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by