Replace charade by chardet...

Fixes #43 

/cc @Diaoul