Defect #12667
closed
500 error when viewing issue that contains 2-byte character
Added by Erik Mitchell about 13 years ago.
Updated about 13 years ago.
Description
Fixed by adding "# encoding: utf-8" to app/controllers/issues_controller.rb
0a1,2
- encoding: utf-8
#
Diff should be:
0a1,2
> # encoding: utf-8
> #
- Status changed from New to Closed
- Resolution set to Invalid
Is it perhaps working on redmine.org because a different database adapter is being used?
I am using "mysql". Searching the internet suggested that changing to "mysql2" might resolve the problem, however I was not able to get this to work in my environment. Changing the controller script did fix the issue, though.
Also available in: Atom
PDF