From 0592b6a86442c24a7de79ac4ac1642a5cef1f68f Mon Sep 17 00:00:00 2001 From: Valery Sizov Date: Mon, 12 Mar 2012 15:39:41 +0200 Subject: [PATCH] graph: fix unicode issue #525 --- lib/graph_commit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/graph_commit.rb b/lib/graph_commit.rb index ef5e91c6..0080e856 100644 --- a/lib/graph_commit.rb +++ b/lib/graph_commit.rb @@ -96,7 +96,7 @@ class GraphCommit h[:parents] = self.parents.collect do |p| [p.id,0,0] end - h[:author] = author.name + h[:author] = author.name.force_encoding("UTF-8") h[:time] = time h[:space] = space h[:refs] = refs.collect{|r|r.name}.join(" ") unless refs.nil?