Skip to content

Commit

Permalink
[webui] don't pretent icons are utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Apr 16, 2012
1 parent 99e6088 commit 5809e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/app/controllers/home_controller.rb
Expand Up @@ -34,7 +34,7 @@ def icon
content = f.read
f.close
end
content
content.force_encoding("ASCII-8BIT")
end

render :text => content, :layout => false, :content_type => "image/png"
Expand Down

0 comments on commit 5809e90

Please sign in to comment.