From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: searching for non ascii characters
Date: Tue, 2 Aug 2005 22:55:58 +0200 [thread overview]
Message-ID: <87699915a46e0e4d2d83f2321d17aa86@Web.DE> (raw)
In-Reply-To: <u3bpsulsx.fsf@cwazy.co.uk>
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!
next prev parent reply other threads:[~2005-08-02 20:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-02 20:27 searching for non ascii characters Radomir Hejl
2005-08-02 20:55 ` Peter Dyballa [this message]
[not found] ` <mailman.2370.1123016502.20277.help-gnu-emacs@gnu.org>
2005-08-03 13:28 ` rahed
2005-08-03 14:09 ` Peter Dyballa
[not found] ` <mailman.2456.1123078766.20277.help-gnu-emacs@gnu.org>
2005-08-03 14:52 ` rahed
2005-08-03 15:11 ` Peter Dyballa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87699915a46e0e4d2d83f2321d17aa86@Web.DE \
--to=peter_dyballa@web.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).