*** The new function detect-coding-with-language-environment can be used to detect a coding system of text according to priorities of coding systems used by some specific language environment.