Hi,

On Sun, Apr 10, 2011 at 11:25 PM, Pavel Kunc <[email protected]> wrote:
> This has been problem for loooong time and we have been forced to do
> crazy things. While Rack is in development it goes slow and some
> patches including patch for support of Encoding in Ruby 1.9.x are
> still not there.
>
> The result is that what comes from Rack is not what you might expect
> and that leads to nasty exceptions about incompatible encoding as we
> all know them. It happen during POST, sometimes get and so on.
>
> Also Merb source code doesn't set the encoding so unless you do
> something about it the source code (helpers for example) are in the
> default encoding.
>
> I've been successfully using:
>
> Encoding.default_internal = 'UTF-8'
> Encoding.default_external = 'UTF-8'
>
> In my init, but latest upgrade of the server to 1.9.2-p180 broke
> things again.
>
> So I tried to UBFF (Ugly-Brute-Force-Fix) it in the experimental 1.2.1
> branch:
>
> https://github.com/merb/merb/tree/ruby-1.9.x-encoding-fixes
>
> Until Rack will handle encodings I don't know about other way to solve
> the problem.
>
> I WOULD LOVE TO HEAR IF IT BREAKS YOUR APPS!

hope to test it real soon, since have some Merb apps to move to 1.9.
Started a new Merb app 2 weeks ago ;-)

Thanks in advance,
pedro mg

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

Reply via email to