]> source.dussan.org Git - redmine.git/commit
Ruby 1.9: add "encoding: utf-8" header at application_helper.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 13 Nov 2011 13:56:20 +0000 (13:56 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 13 Nov 2011 13:56:20 +0000 (13:56 +0000)
commit3511292a177ad4b0121ebdfe8342f6dc9809c82a
tree31a3d7984159e0e7c9fc8420be6f7b6b0387d13b
parentc54b33ddca34c7a82538067b5d92935304f0f944
Ruby 1.9: add "encoding: utf-8" header at application_helper.rb

Following error raises in case that time log has non ASCII comments.

<pre>
ActionView::TemplateError (incompatible character encodings: UTF-8 and ASCII-8BIT)
 on line #5 of app/views/timelog/index.html.erb:
3: </div>
4:
5: <%= render_timelog_breadcrumb %>
6:
7: <h2><%= l(:label_spent_time) %></h2>

    app/helpers/application_helper.rb:407:in `join'
    app/helpers/application_helper.rb:407:in `breadcrumb'
    app/helpers/timelog_helper.rb:32:in `render_timelog_breadcrumb'
    app/views/timelog/index.html.erb:5
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7803 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/helpers/application_helper.rb