ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
Encoding of user input (Bug #524)
Description
Yet another encoding problem from using ruby 1.9: rails 2.3.x considers user input as byte strings, in particular the content of the params hash, which yields an Encoding error every time an input string is concatenated to an existing string.
The fix described there fixed it for me, with the obvious change of 2.3.10 to 2.3.12.
Note: this fix assumes that the user wants to use UTF-8 as the default encoding, which I believe is a reasonable default.
History
Updated by Toshi MARUYAMA at 2011-07-15 03:44 pm
This issue is duplicate with #440.
http://jasoncodes.com/posts/ruby19-rails2-encodings is same with my https://www.chiliproject.org/issues/440#note-8
- Status changed from Open to Duplicate