add a force_utf8() helper for things rendered in views coming in from the outside.
authorJohan Sørensen <johan@johansorensen.com>
Thu, 14 May 2009 10:11:58 +0000 (12:11 +0200)
committerJohan Sørensen <johan@johansorensen.com>
Thu, 14 May 2009 10:14:07 +0000 (12:14 +0200)
commit99a2e9c430a3cbc5378cdbe2e24069ab343c491d
tree8e589cbe6c36514f608ccee3f1c5e4f45de3e947
parent626972414e74effee94128f5bb4b3f936d4d23c5
add a force_utf8() helper for things rendered in views coming in from the outside.

While not all non-ascii chars are displayed 100% correct (depending on their
original encoding), at least pages won't blow up on 1.9
app/helpers/application_helper.rb
app/views/commits/show.html.erb
app/views/searches/show.html.erb