Your not alone, found this (and more) googling heroku unicode.  Looks as
though aspen may fix your issue

http://www.mail-archive.com/heroku@googlegroups.com/msg05281.html



On Tue, Apr 17, 2012 at 1:35 PM, Matias Leidemer
<matiasleide...@gmail.com>wrote:

> I'm running on bamboo-mri-1.9.2, which got "ruby 1.9.2p180 (2011-02-18
> revision 30909) [x86_64-linux]"
>
> my dev machine ruby is "ruby 1.9.2p290 (2011-07-09 revision 32553)
> [x86_64-darwin11.1.0]"
>
> I think it's something really simple, some configuration, but I can't get
> it to work :(
>
> On Tue, Apr 17, 2012 at 3:31 PM, Jeff Schmitz <jeffrey.j.schm...@gmail.com
> > wrote:
>
>> What is your ruby version and what stack?  Do they match?
>>
>>
>> On Tue, Apr 17, 2012 at 12:16 PM, Matias Leidemer <
>> matiasleide...@gmail.com> wrote:
>>
>>> Any thoughts?
>>>
>>> On Apr 16, 4:55 pm, Matias Leidemer <matiasleide...@gmail.com> wrote:
>>> > Sure, it's something really simple:https://gist.github.com/2401076
>>> >
>>> > On Mon, Apr 16, 2012 at 4:46 PM, Jeff Schmitz
>>> > <jeffrey.j.schm...@gmail.com>wrote:
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > > Matias
>>> >
>>> > > Can you post line 6 of emails_controller?
>>> >
>>> > > On Mon, Apr 16, 2012 at 2:18 PM, Matias Leidemer <
>>> matiasleide...@gmail.com
>>> > > > 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 heroku@googlegroups.com.
>>> > >> To unsubscribe from this group, send email to
>>> > >> heroku+unsubscr...@googlegroups.com.
>>> > >> 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 heroku@googlegroups.com.
>>> > > To unsubscribe from this group, send email to
>>> > > heroku+unsubscr...@googlegroups.com.
>>> > > 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 heroku@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> heroku+unsubscr...@googlegroups.com.
>>> 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 heroku@googlegroups.com.
>> To unsubscribe from this group, send email to
>> heroku+unsubscr...@googlegroups.com.
>> 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 heroku@googlegroups.com.
> To unsubscribe from this group, send email to
> heroku+unsubscr...@googlegroups.com.
> 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 heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to