Commit 0592b6a86442c24a7de79ac4ac1642a5cef1f68f
1 parent
6dc8c10d
Exists in
master
and in
4 other branches
graph: fix unicode issue #525
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/graph_commit.rb
... | ... | @@ -96,7 +96,7 @@ class GraphCommit |
96 | 96 | h[:parents] = self.parents.collect do |p| |
97 | 97 | [p.id,0,0] |
98 | 98 | end |
99 | - h[:author] = author.name | |
99 | + h[:author] = author.name.force_encoding("UTF-8") | |
100 | 100 | h[:time] = time |
101 | 101 | h[:space] = space |
102 | 102 | h[:refs] = refs.collect{|r|r.name}.join(" ") unless refs.nil? | ... | ... |