Project

General

Profile

Actions

Defect #11616

closed

Incompatible character encodings with wiki link that contain UTF-8 characters

Added by Dmitry Zamula almost 13 years ago. Updated almost 13 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

There is a problems in wiki pages, if the wiki link is constructed by UTF-8 characters, such as Russian, the linked wiki page will result in error 500.

ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT):
2:
3: <h2><%= h @page.pretty_title %></h2>
4:
5: <%= form_for @content, :as => :content,
6: :url => {:action => 'update', :id => @page.title},
7: :html => {:method => :put, :multipart => true, :id => 'wiki_form'} do |f| %>
8: <%= f.hidden_field :version %>
app/views/wiki/edit.html.erb:5:in `_app_views_wiki_edit_html_erb__3358986498583751398_54298060'
app/controllers/wiki_controller.rb:62:in `show'

Actions #1

Updated by Dmitry Zamula almost 13 years ago

Environment:
Redmine version 2.0.3.stable
Ruby version 1.9.3 (x86_64-linux)
Rails version 3.2.6
Environment production
Database adapter MySQL
Redmine plugins:
no plugin installed

Actions #2

Updated by Jean-Philippe Lang almost 13 years ago

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

Please use the mysql2 adapter with ruby1.9.

Actions

Also available in: Atom PDF