What is your ruby version and what stack? Do they match? On Tue, Apr 17, 2012 at 12:16 PM, Matias Leidemer <[email protected]>wrote:
> Any thoughts? > > On Apr 16, 4:55 pm, Matias Leidemer <[email protected]> wrote: > > Sure, it's something really simple:https://gist.github.com/2401076 > > > > On Mon, Apr 16, 2012 at 4:46 PM, Jeff Schmitz > > <[email protected]>wrote: > > > > > > > > > > > > > > > > > > > > > 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. > > > > -- > > Matias > > -- > 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.
