My problem stems from Emacs inserting the coding system headers into source files containing non-ascii characters:
# -*- coding: utf-8 -*-
My c
Update: I must admit, that I overlooked your actual question concerning the insertion of the variables, so I only answered the "howto setup UTF-8 part", sorry about this. Concerning your actual question I have nothing to add, normally emacs doesn't do this.
maybe this blog entry helps you. Reading the documentation of coding-system-for-read
and coding-system-for-write
doesn't suggest that you should use it:
coding-system-for-write is a variable defined in `C source code'.
Its value is nil
Documentation:
Specify the coding system for write operations.
Programs bind this variable with `let', but you should not set it globally.
...