Peter Dyballa <[EMAIL PROTECTED]> writes: >> with C-s. After saving and reading the file from a disc non ascii >> characters >> cannot be found. When I do C-u C-x C-= on non ascii char before > > Put a line like > > ;;; -*- mode: Text; coding: iso-8859-2; -*- > > in the file's header. Could be a
I put the line as my first file line. The symptoms are unchanged. > (prefer-coding-system 'iso-latin-2-unix) > > is already OK. The environment variable LC_CTYPE is important: GNU > Emacs sets a few things after this. In particular > default-buffer-file-coding-system gets derived from this. Then there's > file-coding-system-alist ... I also included (prefer-coding-system 'iso-latin-2-unix) in my .emacs (before I had cp1250). So charsets are now as if I didn't do any changes. character listing after writing and reading from a disc: character: ลก (01210241, 331937, 0x510a1) charset: mule-unicode-0100-24ff (Unicode characters of the range U+0100..U+24FF.) code point: 33 33 syntax: word category: l:Latin buffer code: 0x9C 0xF4 0xA1 0xA1 file code: B9 (encoded by coding system iso-latin-2-unix) font: -outline-Courier New-normal-r-normal-normal-13-97-96-96-c-80-iso10646-1 Thank you, any hints appreciated. Radek _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs