From: rahed@cwazy.co.uk
Subject: Re: searching for non ascii characters
Date: Wed, 03 Aug 2005 15:28:15 +0200 [thread overview]
Message-ID: <uacjz40b4.fsf@cwazy.co.uk> (raw)
In-Reply-To: mailman.2370.1123016502.20277.help-gnu-emacs@gnu.org
Peter Dyballa <Peter_Dyballa@Web.DE> 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
next prev parent reply other threads:[~2005-08-03 13:28 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
[not found] ` <mailman.2370.1123016502.20277.help-gnu-emacs@gnu.org>
2005-08-03 13:28 ` rahed [this message]
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=uacjz40b4.fsf@cwazy.co.uk \
--to=rahed@cwazy.co.uk \
/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).