Hey,

I had the exact same problems, still have, and I use 1.8.7.
There are a lot of recommendations and patches in lighthouse for rails
2.3.x, but I really haven't tried anything.

Konstantinos


On 26 March 2010 02:48, Lailson Bandeira <[email protected]> wrote:

> I'm getting the error "invalid byte sequence in US-ASCII" when using i18n
> on Rails 3.0.0beta with Ruby 1.9.1. I've searched extensively on Google and
> the problem seems to happen with 2.3.x versions as well (when using Ruby
> 1.9.1).
> I just set the default language to portuguese and added this locale file:
> http://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/pt-BR.yml.
> Then, when I use a scaffold-generated form with validation and the
> validation fails, the line of f.error_messages raises this ArgumentError
> of invalid byte sequence. Does anybody knows what is happening? Is this a
> Rails bug? (To reproduce the error, just run this 
> app<http://lailsonbandeira.com/files/demoapp.zip>,
> go to /users/new and submit the empty form.)
>
> Thanks guys
> --
> LAILSON BANDEIRA
> http://lailsonbandeira.com/
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to