emacs-devel
[Top][All Lists]
Advanced

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

Re: problem with old hebrew latex files in iso 8859-8 coding


From: Andreas Schwab
Subject: Re: problem with old hebrew latex files in iso 8859-8 coding
Date: Thu, 18 Jul 2019 14:29:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux)

On Jul 18 2019, Uwe Brauer <address@hidden> wrote:

> The problem is that while his files are displayed perfectly in texstudio
> (having iso 8859-8 enabled), which means the system has the requires
> fonts installed, emacs fails to do so. It simply does not display the
> hebrew chars with the correct fonts.

Since single-byte encodings cannot be detected automatically, you have
to tell Emacs explicitly how the file is encoded.

> What does work is to open the file in GNU emacs, save it as UTF-8, the
> resulting file is still not correctly displayed, I even tried to save
> the file as 8859-8 but then I received the following error
>
>
>
> ,----
> | These default coding systems were tried to encode text
> | in the buffer ‘doc2.txt’:
> |   (hebrew-iso-8bit-unix (1 . 233) (2 . 228) (3 . 233) (7 . 238) (8 .
> |   248) (9 . 231) (10 . 225) (12 . 229) (14 . 232) ...)
> | However, each of them encountered characters it couldn’t encode:
> |   hebrew-iso-8bit-unix cannot encode these: é ä é î ø ç á å è å ...

That means Emacs has used latin-1 as the default single-byte encoding.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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