Project

General

Profile

Actions

Defect #13852

closed

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

Added by Dave C over 11 years ago. Updated almost 11 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I'm getting the following trying to open certain issues - it seems to happen more often if there is a euro sign in the description

ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT):
    55:         <%= yield :sidebar %>
    56:         <%= view_layouts_base_sidebar_hook_response %>
    57:     </div>
    58:
    59:     <div id="content">
    60:         <%= render_flash_messages %>
    61:         <%= yield %>
  app/views/layouts/base.html.erb:58:in `_app_views_layouts_base_html_erb__3047165055450172641_66897220'
  app/controllers/issues_controller.rb:119:in `block (2 levels) in show'
  app/controllers/issues_controller.rb:116:in `show'

About your application's environment
Ruby version 1.9.2 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.4
Rails version 3.2.13
Active Record version 3.2.13
Action Pack version 3.2.13
Active Resource version 3.2.13
Action Mailer version 3.2.13
Active Support version 3.2.13
Middleware Rack::Cache, ActionDispatch::Static, Rack::Lock, #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x00000004f2cc28>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Callbacks, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ParamsParser, ActionDispatch::Head, Rack::ConditionalGet, Rack::ETag, ActionDispatch::BestStandardsSupport, OpenIdAuthentication
Application root /srv/redmine.fwm.cx
Environment production
Database adapter mysql
Database schema version 20130217094251

Actions #1

Updated by Toshi MARUYAMA over 11 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Dave C wrote:

About your application's environment
Ruby version 1.9.2 (x86_64-linux)

Database adapter mysql

You need to use mysql2 instead of mysql on Ruby 1.9.

Actions #2

Updated by Dave C over 11 years ago

Nevermind, figured it out ;)

Actions #3

Updated by David Rahusen almost 11 years ago

Erm, well, and what was the solution??

Actions #4

Updated by Dave C almost 11 years ago

that you have to use mysql2 !

I'd come to the conclusion about 5 minutes before Toshi replied with the same thing

Actions

Also available in: Atom PDF