read file with UTF-8 in Chat example