Return the list of charsets ordered by priority. HIGHESTP non-nil means just return the highest priority one. (fn &optional HIGHESTP)