diff options
author | Valery Sizov <vsv2711@gmail.com> | 2012-03-12 15:39:41 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2012-03-12 15:39:41 +0200 |
commit | 0592b6a86442c24a7de79ac4ac1642a5cef1f68f (patch) | |
tree | eef1cd2969356c138154cc585d5cb13260870dcb /lib/graph_commit.rb | |
parent | 6dc8c10d051d958f84ed5391e3af4fd516a1194c (diff) | |
download | gitlab-ce-0592b6a86442c24a7de79ac4ac1642a5cef1f68f.tar.gz |
graph: fix unicode issue #525
Diffstat (limited to 'lib/graph_commit.rb')
-rw-r--r-- | lib/graph_commit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/graph_commit.rb b/lib/graph_commit.rb index ef5e91c6870..0080e856402 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? |