On Tue, Oct 27, 2009 at 7:07 PM, Lin Jen-Shin <
god...@gmail.com> wrote:
>
> On Oct 24, 8:04 am, cult hero <
binarypala...@gmail.com> wrote:
>> I'm not sure how recently (since I've spent so much time in the
>> console playing with the models on their own... like a month's worth
>> of time) these changes have happened, but...
>>
>> When I use thin as my server while testing I get this error:
>>
>> rack.input #<StringIO:0x000001021eb4d0> does not have ASCII-8BIT as
>> its external encoding
>>
>> Any idea what's up?
>
> I've encountered this as well just a moment before.
> I'm not sure what's going on, but whenever I put
> this on the beginning:
>
> Encoding.default_external = Encoding::ASCII_8BIT
>
> It goes fine.
> I would guess it's a Rack/Thin combo problem.
> WEBrick and Unicorn are both fine without the line.