Am 02.08.2005 um 22:27 schrieb Radomir Hejl:

Hello,
when in a text mode, I usually use input method. I am able to find any character 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 saving I see a charset latin-iso8859-2. Doing C-u C-x C-= after saving there's usually
mule-unicode-0100-24ff or latin-iso8859-1 charset.

So now I can only search with success for ascii chars. What should I trim in
emacs so that the searching be efficient?


Put a line like

        ;;; -*- mode: Text; coding: iso-8859-2; -*-

in the file's header. Could be a

        (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 ...

--
Greetings

  Pete

Bake Pizza not war!



_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to