I want to write the text with a utf 8 encoding because it contains special characters. How to write utf 8 in a csv file. For whatever reason i couldn t get those solutions to work and this did.