Hi Anders. I'll look into this as soon as I get a chance, maybe
tonight sometime. Thanks again,
On Nov 9, 5:05 am, Anders Johannsen <
and...@johannsen.com> wrote:
> Thank you. That certainly gets rid of both the error and the warnings.
> Pursuing the Ruby 1.9.1 compatibility quest further, I discovered that
> the responses from the rsolr-lib are always encoded in "Encoding:US-
> ASCII" even though the HTTP response headers states that the response
> text should be interpreted as "text/plain; charset=utf-8".
>
> This may be an issue with the underlying http client though. As far as
> I can tell, net/http does not try to be clever about the string
> encoding of the response and just returns the default
> Encoding:ASCII-8BIT. If we are reasonably sure that a response from
> Solr is always utf-8 encoded - which I suspect - it will be safe to do
> something like
>
> response.force_encoding(Encoding::UTF_8) if response.encoding
>
> on the output from net/http in rsolr. But I'm not well enough
> acquainted with Solr to tell if that is really the case.
>
> Anders
>
> Den 06/11/2009 kl. 14.46 skrev matt mitchell:
>
>
>
> > Woops, sorry about that. I just published 0.9.7.2 -