chrismattmann / etllib

This is the ETL lib package. It provides an API to munge and prepare JSON, TSV and other data using Apache Tika and JSON parsing/loading for ETL via Apache OODT (or other libs) into Apache Solr.
16 stars 35 forks source link

unknown encoding: binary:0:Message: unknown ecoding error while running tsvtojson #26

Closed srimadha closed 9 years ago

srimadha commented 9 years ago

Dear All

There seems to be an issue with convertToUTF-8 function.

encoding = _theMagic.from_buffer(src)

The above instruction was causing this exception, but I modified this function to theMagic.from_buffer(src) and its working now.

Thanks, Srikanth Madhava

srimadha commented 9 years ago

I faced this error when working on MAC

chrismattmann commented 9 years ago

Can you please provide a pull request @srimadha ?

srimadha commented 9 years ago

I created a pull request, but I'm not sure if I did the the right way.

Thanks, Sri

chrismattmann commented 9 years ago

merged..