Question
REDMINE - incompatible character encodings: ASCII-8BIT and UTF-8
I’m having a trouble seeing pages that uses Spanish Charset (i.e accents, ñ, etc).
The log to one page (issues), for example tells my:
ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT):
60: <% if @issues.empty? %>
61: <p class="nodata"><%= l(:label_no_data) %></p>
62: <% else %>
63: <%= render :partial => 'issues/list', :locals => {:issues => @issues, :query => @query} %>
64: <p class="pagination"><%= pagination_links_full @issue_pages, @issue_count %></p>
65: <% end %>
66:
app/views/issues/index.html.erb:63:in `_app_views_issues_index_html_erb___1752021154048040311_51435780'
app/controllers/issues_controller.rb:87:in `block (2 levels) in index'
app/controllers/issues_controller.rb:86:in `index'
Seeing the solutions in many redmine wikis / blogs is to run gem install mysql2 (i did it) and then change the database.yml adapter to mysql2 (i also did it).
But everything it’s the same.
Could yoy help me with this problem?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×