Report this

What is the reason for this report?

REDMINE - incompatible character encodings: ASCII-8BIT and UTF-8

Posted on June 29, 2014

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?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.