collectiveidea/delayed_job — Issue #329: Encoding problem for I18n backends
Author: albertbellonch
Created: 2012-01-06 01:02:07+00:00
State: open

In a certain project, we use a custom I18n backend for translations, with UTF-8 encoding, which is available in github.com/rogercampos/interpret. Instead of using the YAML files, It basically uses a separate table in which we store the translations. Everything works fine.

So today I updated delayed_job to version 3.0.0, ran the migrations, added active_record and daemons extension gems, and to my surprise some special characters (such as "à", "í", "ë") were shown in an ugly way. (Note: I really can tell that this issue came from updating the gem)

I have been briefly checking the changes between versions 2.1.4 and 3.0.0 in here:
https://github.com/collectiveidea/delayed_job/compare/v2.1.4...v3.0.0
but I haven't found anything for now.

I think it's quite probable that there is an interference between our solution and some new implementation in delayed_job, but I found it really strange being delayed_job, as we know, a delivery queue system, so having almost nothing to do with I18n backends.

For the moment, I downgraded my Gemfile to use delayed_job 2.1.4, and it works fine again.