Setting coding-system-for-write
directly is a bit of a hack. The user command for changing a file’s encoding (in this case from utf-8-with-signature
to plain utf-8
) is set-buffer-file-coding-system
. It is bound by default to C-x RET f
.
Setting coding-system-for-write
directly is a bit of a hack. The user command for changing a file’s encoding (in this case from utf-8-with-signature
to plain utf-8
) is set-buffer-file-coding-system
. It is bound by default to C-x RET f
.