Isn't the charset specified after a ";" in the content type?
XmlUpdateRequestHandler has a utility function that gets the charset from the content type. In SOLR-185, I moved this to a utility function. On 3/26/07, Yonik Seeley <[EMAIL PROTECTED]> wrote:
I'm updating CSVLoader to the update handler framework. If one uses STREAM_URL to specify a local file, do we have a way of specifying it's charset? Should getCharsetFromContentType() be moved to ContentStream()? Should we have getCharset() or getReader() methods? -Yonik
