help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: searching for non ascii characters


From: rahed
Subject: Re: searching for non ascii characters
Date: Wed, 03 Aug 2005 15:28:15 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

Peter Dyballa <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]