auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] input encoding, unicode, multi-byte with tex


From: David Kastrup
Subject: Re: [AUCTeX] input encoding, unicode, multi-byte with tex
Date: Fri, 04 Apr 2008 08:27:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"Ed C." <address@hidden> writes:

> Sent again because Reply to and Reply-to-all in Thunderbird seem to
> work differently on usenet and mailing lists:
>
> Ralf Angeli wrote:
>> * David Kastrup (2008-04-03) writes:
>>
>>> Ralf Angeli <address@hidden> writes:
>>>
>>>> * Ed C. (2008-04-03) writes:
>>>>
>>>>> ERROR: Package inputenc Error: Keyboard character used is undefined
>>>> This looks like a parsing error by AUCTeX.
>>> No, this looks like the buffer has not been saved with latin4 encoding.
>>
>> Perhaps, but with the statement above I was referring to the spurious
>> (inputenc)                in inputencoding `latin4'.
>> in the TeX Help buffer, not the actual error text you quoted.
>>
>
> Thanks, Ralf and David. I am using w32 Emacs 22.1 (from the bundled
> emacs+auctex binary)and MiKTeX 2.7. All my files (even .emacs) have
> this header:
>
> ;; -*- coding: utf-8 -*-
> ;;Time-stamp: "2008-02-27 19:52:43 Administrator"

That's not exactly going to make Emacs save this file as latin4.

> but the text I inserted in myfirst.tex (from an xemacs example on the
> web) was copy-pasted from a utf-8 encoded file.

Copy-paste does not matter really (at least hardly in Emacs 22.1, and
less in Emacs 23.x).  Once the characters are inside of Emacs, they are
encoded in Emacs' own encoding, and they are only reencoded once they
are written out again.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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