Project

General

Profile

Actions

Defect #21878

closed

ActionView::Template::Error (incompatible character encodings: ASCII-8BIT and UTF-8)

Added by Stefan Kuhr almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hello,

just in the process of upgrading version 2.5.1.stable (installed on debian wheezy from wheezy backports) to 2.5.2.devel (debian jessie) and now I get the following error in production.log when trying to access the upgraded redmine instance:

Started GET "/redmine" for ::1 at 2016-01-29 14:37:34 +0100
Processing by WelcomeController#index as HTML
Current user: anonymous
Rendered news/_news.html.erb (46.9ms)
Rendered welcome/index.html.erb within layouts/base (265.4ms)
Completed 500 Internal Server Error in 827ms (ActiveRecord: 411.4ms)

ActionView::Template::Error (incompatible character encodings: ASCII-8BIT and UTF-8):
5: <% if @news.any? >
6: <div class="news box">
7: <h3><
=l(:label_news_latest)%></h3>
8: <%= render :partial => 'news/news', :collection => @news >
9: <
= link_to l(:label_news_view_all), :controller => 'news' >
10: </div>
11: <
end %>
app/views/welcome/index.html.erb:8:in `_app_views_welcome_index_html_erb___730600040__630179138'

What can I do to fix this problem? Please assign a proper category to this ticket, I dunno what the proper category for this would be.

Actions

Also available in: Atom PDF