So, I'm working on this Ruby source code file in Emacs, and I insert some UTF-8 characters in the file. When I next open the file, it has a comment like so at the top:
Code:
# -*- coding: undecided -*-
Presumably that was added by Emacs to mark which encoding is used in the file. Two questions:
1. Does any program other than emacs use this format of encoding comment to discern what encoding is being used?
2. If I wanted to change the comment so that it would assume UTF-8, what should I replace 'undecided' with? I.e., 'utf8', 'utf-8', 'UTF-8', ...?