Project

General

Profile

Actions

Bug #2671

closed

Encoding problem with ruby1.9 and UTF-8

Added by Romain Vrignaud about 11 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Since I upgraded my Foreman instance from
Squeeze to Wheezy, I can't save anymore some templates :

I get following errors in my logs :
Operation FAILED: incompatible character encodings: ASCII-8BIT and UTF-8
Rendered home/_topbar.rhtml (4.6ms)
Rendered common/500.rhtml within layouts/application (13.1ms)
Completed 500 Internal Server Error in 135ms (Views: 14.0ms | ActiveRecord: 11.8ms)

In my apache's vhost configuration I had and still have :
AddDefaultCharset UTF-8

Actions

Also available in: Atom PDF