Matias

Can you post line 6 of emails_controller?

On Mon, Apr 16, 2012 at 2:18 PM, Matias Leidemer
<[email protected]>wrote:

> Hey guys, I'm having problemas with UTF-8 on Heroku.
>
> In one of my controllers, I'm passing an email as a parameter (with an
> "@"), and the server is returning an error:
>
> 2012-04-16T19:02:41+00:00 app[web.1]: ArgumentError (invalid byte
> sequence in UTF-8):
> 2012-04-16T19:02:41+00:00 app[web.1]:   app/controllers/
> emails_controller.rb:6:in `plano'
>
> The line, is exactly where the param with the "@" is used. Here's my
> heroku configuration (the important ones):
>
> RACK_ENV => staging
> RAILS_ENV => staging
> LANG  => en_US.UTF-8
> STACK => bamboo-mri-1.9.2
>
> I don't know what else to do. I've set all the headers to "# encoding:
> UTF-8" and my application.rb is already with the "config.encoding =
> "utf-8""
>
> Any help would be great, thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" 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/heroku?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.

Reply via email to