Encoding issues with Windows and R

i’m getting crazy. i have a script which worked properly for months. the script creates 3 CSV files with write.csv2() default settings in R is to use UTF-8 encoding when saving files.

when i open these 3 csv files with windows-Notepad i can see down below in the right corner the encoding. 2 files UTF-8, 1 file ANCI.

Why is one file ANCI ? how can i avoid it? all the time it was 3 utf-8 files.

same settings for all write.csv2()