Commit 0592b6a8 authored by Valery Sizov's avatar Valery Sizov

graph: fix unicode issue #525

parent 6dc8c10d
...@@ -96,7 +96,7 @@ class GraphCommit ...@@ -96,7 +96,7 @@ class GraphCommit
h[:parents] = self.parents.collect do |p| h[:parents] = self.parents.collect do |p|
[p.id,0,0] [p.id,0,0]
end end
h[:author] = author.name h[:author] = author.name.force_encoding("UTF-8")
h[:time] = time h[:time] = time
h[:space] = space h[:space] = space
h[:refs] = refs.collect{|r|r.name}.join(" ") unless refs.nil? h[:refs] = refs.collect{|r|r.name}.join(" ") unless refs.nil?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment