• Moritz Breit's avatar
    [#707] Fix encoding error on wiki diffs on Ruby 1.9 · 60db8684
    Moritz Breit authored
    WikiDiff#to_html returns a string with ASCII encoding if
    the WikiJournal content has been Zlib compressed because
    Zlib::Inflate.inflate returns strings with ASCII encoding.
    Forcing the encoding to be UTF8 fixes this bug.
    60db8684
wiki_content.rb 3.34 KB