From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: coding problem char \217 etc Date: Fri, 16 Nov 2018 14:57:36 +0100 Message-ID: <87ftw1t99r.fsf@mat.ucm.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1542376553 25403 195.159.176.226 (16 Nov 2018 13:55:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2018 13:55:53 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 16 14:55:49 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNeb6-0006Uz-QP for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2018 14:55:48 +0100 Original-Received: from localhost ([::1]:44976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNedD-0003Tb-EO for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2018 08:57:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNed7-0003TT-RG for emacs-devel@gnu.org; Fri, 16 Nov 2018 08:57:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gNed4-00016v-MO for emacs-devel@gnu.org; Fri, 16 Nov 2018 08:57:53 -0500 Original-Received: from [195.159.176.226] (port=59794 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gNed4-00014f-57 for emacs-devel@gnu.org; Fri, 16 Nov 2018 08:57:50 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gNeap-0006AS-Dv for emacs-devel@gnu.org; Fri, 16 Nov 2018 14:55:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 41 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:IUoeX4Z5KlNx51/VpMnquH7Gm1M= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:231184 Archived-At: Hi >From time to time I obtain documents which look like \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} % Police contenant les caractres franais \usepackage{geometry} % DŽfinir les marges % \usepackage[francais]{babel} % Placez ici une liste de langues, la % dernire Žtant la langue principale % \pagestyle{headings} % Pour mettre des enttes avec les titres % des subsections en haut de page Since I am not sure that the coding survives I write that as \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} % Police contenant les caract\217res fran\215ais \usepackage{geometry} % D\216finir les marges % \usepackage[francais]{babel} % Placez ici une liste de langues, la % derni\217re \216tant la langue principale % \pagestyle{headings} % Pour mettre des ent\220tes avec les titres % des subsections en haut de page And I simple don't know who to deal with it, I try to save it as latin-1 or as utf-8 I run encode-coding-region with various codings. Nothing works. C-x = shows me for example for \217 Char:  (143, #o217, #x8f, file ...) point=546 of 1416 (38%) <57-1417> column=37 Which is not very helpful. Any ideas what to do. Any possibility how emacs could deal with this automatically? Uwe Brauer