diff options
author | Pat Thoyts <patthoyts@users.sourceforge.net> | 2010-09-13 21:41:42 +0200 |
---|---|---|
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | 2010-09-13 21:41:42 +0200 |
commit | 2473543caabe63a9787e7ac42765c8f7169d7197 (patch) | |
tree | 5cd082ce2e91eb2fa258566cc60b1ebd2dfad985 /git-gui.sh | |
parent | git-gui: Update Swedish translation (521t). (diff) | |
download | git-2473543caabe63a9787e7ac42765c8f7169d7197.tar.xz git-2473543caabe63a9787e7ac42765c8f7169d7197.zip |
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 '')
-rwxr-xr-x | git-gui.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-gui.sh b/git-gui.sh index 0d5c5e389e..4617f29c26 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 |