summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 914c4d4)
raw | patch | inline | side by side (parent: 914c4d4)
author | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 12 Oct 2007 16:18:02 +0000 (12:18 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 13 Oct 2007 03:06:36 +0000 (23:06 -0400) |
On Windows using the native Tcl/Tk the copyright header is
being read from the script using the system encoding, which
may not be utf-8. This causes the multi-byte copyright symbol
(which is actually encoded as utf-8) to read as two characters
and not as a proper copyright symbol. Explicitly asking Tcl
to read this sequence of bytes as utf-8 corrects the issue.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
being read from the script using the system encoding, which
may not be utf-8. This causes the multi-byte copyright symbol
(which is actually encoded as utf-8) to read as two characters
and not as a proper copyright symbol. Explicitly asking Tcl
to read this sequence of bytes as utf-8 corrects the issue.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | patch | blob | history |
diff --git a/git-gui.sh b/git-gui.sh
index dd320fb0757cba5c10e21caf0762877b6a1f06f6..9bc5626286b7e9233f7a643253c6edfa99755ba8 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
exec wish "$argv0" -- "$@"
set appvers {@@GITGUI_VERSION@@}
-set copyright {
+set copyright [encoding convertfrom utf-8 {
Copyright © 2006, 2007 Shawn Pearce, et. al.
This program is free software; you can redistribute it and/or modify
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA}
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA}]
######################################################################
##