This project is archived and is in readonly mode.

#4098 ✓resolved
qoobaa

I18n incompatible character encodings: UTF-8 and US-ASCII

Reported by qoobaa | March 3rd, 2010 @ 11:05 AM | in 2.3.10

There's a problem with new I18n 0.3.5 gem and Rails 2.3.5. I18n tries to preserve string encoding in interpolation method, but some strings are hardcoded into Rails and have US-ASCII encoding. The key activerecord.errors.full_messages.format ("{{attribute}} {{message}}") is hardcoded in validations.rb file, and it needs to be UTF-8 encoded to work with other UTF-8 strings.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Tags

Pages