summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/graph_commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/graph_commit.rb b/lib/graph_commit.rb
index 54550d99cf6..ef5e91c6870 100644
--- a/lib/graph_commit.rb
+++ b/lib/graph_commit.rb
@@ -102,7 +102,7 @@ class GraphCommit
h[:refs] = refs.collect{|r|r.name}.join(" ") unless refs.nil?
h[:id] = sha
h[:date] = date
- h[:message] = message
+ h[:message] = message.force_encoding("UTF-8")
h[:login] = author.email
h
end