encoding issues with emacs - beginner
I don't know, how to resolve the following problem (I am an emacs beginner): I am using tcsh - Shell, my "Windows settings" of my Terminal are set to unicode (utf-8). But I am unable to enter German Umlauts with my keyboard, when using emacs (MBP, 17 inch, one year old, 10.4.11) - instead of inserting the special letters for example "ö ä ü" emacs is jumping on a different place of the file and inserting nothing! It is not depending of the file which I am "visiting". Whether it is saved in utf-8 or in Latin 1. Probably I have to set the encodings in the ~/.emacs starting file, but the two books for emacs (both O'Reilly) don't help, to set up the encoding!!! One book is very fat, and no chapter about encoding!!!
Meanwhile I found: making C-h C <ENTER> I may guess what is missing: I have to enter the order of my still undefined encodings. emacs is saying this:
Default coding system (for new files):
nil
Coding system for keyboard input:
nil
Coding system for terminal output:
nil # But here I am sure it is set to utf-8!
Defaults for subprocess I/O:
decoding: - -- undecided (alias: unix dos mac)
encoding: 1 -- iso-latin-1 (alias: iso-8859-1 latin-1)
Priority order for recognizing coding systems when reading files:
1. iso-latin-1 (alias: iso-8859-1 latin-1)
2. iso-2022-jp (alias: junet)
3. iso-2022-7bit
4. iso-2022-7bit-lock (alias: iso-2022-int-1)
5. iso-2022-8bit-ss2
6. emacs-mule
7. raw-text
8. japanese-shift-jis (alias: shift_jis sjis)
9. chinese-big5 (alias: big5 cn-big5)
10. no-conversion (alias: binary)
11. mule-utf-8 (alias: utf-8)
Please, could somebody be so kind, to help me with this?
One other question again: I am unable to find in my two emacs-books an answer: is it possible to have a syntax-highlighting with different colours in emacs for xml/html, Perl, LaTeX ... ???
Thank you all and best greetings from Munich
marek
MBP 17