charset detection test with uchardet