graph: fix unicode issue #525

This commit is contained in:
Valery Sizov 2012-03-12 15:39:41 +02:00
parent 6dc8c10d05
commit 0592b6a864

View file

@ -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?