Force Emacs to NOT change the encoding -
i'll try put possible, since myself don't understand what's going on.
if have buffer opened in emacs, , it's in, let's utf-8 (could really), , paste text in encoding (from pdf example), emacs change original encoding (utf8) new encoding...
this pain in ass, because screws thousands of other text lines, new line can correctly displayed...
so guess question is, how can tell emacs never change encoding of file? if character can't represented in present encoding, don't show (or show messed happens).
thanks
specifying -*- coding: utf-8 -*-
(or whatever encoding want) @ top of file force encoding particular file. relevant manual page here.
for more systematic approach, might want investigate docstring file-coding-system-alist
variable, forces encodings based on filenames.