add encoding in python file to allow accent and symbols