From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: problem with old hebrew latex files in iso 8859-8 coding Date: Thu, 18 Jul 2019 14:29:15 +0200 Message-ID: References: <87zhlbtw7z.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="148731"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) Cc: emacs-devel@gnu.org To: Uwe Brauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 18 14:29:39 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ho5XS-000cOT-E0 for ged-emacs-devel@m.gmane.org; Thu, 18 Jul 2019 14:29:34 +0200 Original-Received: from localhost ([::1]:37496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho5XK-0005Dm-IK for ged-emacs-devel@m.gmane.org; Thu, 18 Jul 2019 08:29:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42567) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho5XC-0005A7-CW for emacs-devel@gnu.org; Thu, 18 Jul 2019 08:29:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ho5XB-0005pU-CA for emacs-devel@gnu.org; Thu, 18 Jul 2019 08:29:18 -0400 Original-Received: from mx2.suse.de ([195.135.220.15]:51126 helo=mx1.suse.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ho5XB-0005or-5U for emacs-devel@gnu.org; Thu, 18 Jul 2019 08:29:17 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Original-Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 35CBCAD31; Thu, 18 Jul 2019 12:29:16 +0000 (UTC) X-Yow: Gee, I feel kind of LIGHT in the head now, knowing I can't make my satellite dish PAYMENTS! In-Reply-To: <87zhlbtw7z.fsf@mat.ucm.es> (Uwe Brauer's message of "Thu, 18 Jul 2019 14:31:44 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:238646 Archived-At: On Jul 18 2019, Uwe Brauer wrote: > The problem is that while his files are displayed perfectly in texstudi= o > (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 =E2=80=98doc2.txt=E2=80=99: > | (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=E2=80=99t enco= de: > | hebrew-iso-8bit-unix cannot encode these: =C3=A9 =C3=A4 =C3=A9 =C3=AE= =C3=B8 =C3=A7 =C3=A1 =C3=A5 =C3=A8 =C3=A5 ... That means Emacs has used latin-1 as the default single-byte encoding. Andreas. --=20 Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint =3D 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D= 7 "And now for something completely different."