I'm having a very strange problem I could use help understanding. I've
got 2 locale files: en.yml and fr.yml. When I have a utf-8 character
in the en.yml file it displays fine. When I put that exact same
character in the fr.yml file, I get an Encoding::CompatibilityError

Here's the entry that's causing the problem:

firstname_placeholder: "Prénom"

I've tested with other characters and any utf-8 in the non-english
translation causes the same exception. Anybody got any idea why utf-8
works fine in the english locale file but not in the non-english file?

Thanks, Bill

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
postedJun 18, '12 at 1:10p
activeJun 18, '12 at 1:10p

1 user in discussion

Bill Walton: 1 post



site design / logo © 2022 Grokbase