fork into chardet2 v1.0.0