add chardet module, to fix varity message encoding issue