summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-bz2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-bz b/git-bz
index d5248e4..754032b 100755
--- a/git-bz
+++ b/git-bz
@@ -729,7 +729,7 @@ def edit_template(template):
handle, filename = tempfile.mkstemp(".txt", "git-bz-")
f = os.fdopen(handle, "w")
- f.write(template)
+ f.write(template.encode("UTF-8"))
f.close()
edit_file(filename)