guess encoding and separator when importing csv