This project is archived and is in readonly mode.
Incorrect behavior of truncate on utf-8 strings
-
tulskiy
Forgot to add, I'm using Rails 2.3.5 and Ruby 1.9.1 on Ubuntu 9.10.
-
Jeremy Kemper
- Assigned user set to Jeremy Kemper
- State changed from new to invalid
What is product.description.encoding? I bet it's ascii not utf-8. You need to update your mysql/pg/sqlite driver to a newer version that supports 1.9 string encodings.