I'm trying to write to files with fprintf, here are some examples:
however, if author, for instance, has some chars like á ò ê or even €, the text file will not be saved correctly. Why?Code:FILE *fp; fp = fopen("teste.txt", "w") fprintf(fp, "# Author: %s\n", author);
Easy to fix? How?