added lib: chardet