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) | ||
commit | d6db1ad51a5ac8154fcc2413f1eb6142c1a0639a | |
tree | a925276fd1b889bbd1f38d412008540cac7e0acb | tree | snapshot |
parent | 914c4d4dcd96218d33f5fefc9c175ea785972f06 | commit | diff |
git-gui: Ensure copyright message is correctly read as UTF-8
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>
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>
git-gui.sh | diff | blob | history |