From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: How to keep character encoding in text file... Date: Fri, 6 Mar 2009 10:44:59 +0100 Message-ID: <65C9C57A-5BBD-45F5-B5DE-9E1A90B5BF36@Web.DE> References: <87y6vjxds9.fsf@galatea.local> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1236332747 21633 80.91.229.12 (6 Mar 2009 09:45:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2009 09:45:47 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: pjb@informatimago.com (Pascal J. Bourguignon) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 06 10:47:04 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LfWdz-00039t-B9 for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Mar 2009 10:47:03 +0100 Original-Received: from localhost ([127.0.0.1]:50681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfWcd-0002qz-R8 for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Mar 2009 04:45:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfWcE-0002q2-RN for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 04:45:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfWcB-0002ox-A7 for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 04:45:14 -0500 Original-Received: from [199.232.76.173] (port=46475 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfWcB-0002on-1j for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 04:45:11 -0500 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:43376) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfWcA-00032T-DZ for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 04:45:10 -0500 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id 34B5EF8FD51D; Fri, 6 Mar 2009 10:45:08 +0100 (CET) Original-Received: from [91.35.195.71] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.110 #277) id 1LfWc6-0006Ni-00; Fri, 06 Mar 2009 10:45:07 +0100 In-Reply-To: <87y6vjxds9.fsf@galatea.local> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/wcNS6RfktqKtkE7V4sUP5j7+cc8e+XYYAKEYs 33z2Xy1QgTRndfGrv/TlY2B9jJnaix9MEvooYIv49AaXvzm0HY HRYmmvLU02j5s0TuWtuA== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62662 Archived-At: Am 06.03.2009 um 09:21 schrieb Pascal J. Bourguignon: > Marko Myllymaki writes: >> Therefore if I enter "baz" in latin1 buffer, everything is okay, but >> "foobar =E5=E4=F6" has some UTF-8 and it then forces buffer encoding = to >> UTF-8... > > Perhaps because your keyboard doesn't send compound characters, but > unicode combination sequences? iso-8859-1 contains acute and grave > accents, but no umlaut. > You're wrong: =C4 =3D 304 =3D 196 =3D C4 =3D U+00C4 =3D C3 84 : LATIN CAPITAL = LETTER A WITH =20 DIAERESIS =CB =3D 313 =3D 203 =3D CB =3D U+00CB =3D C3 8B : LATIN CAPITAL = LETTER E WITH =20 DIAERESIS =CF =3D 317 =3D 207 =3D CF =3D U+00CF =3D C3 8F : LATIN CAPITAL = LETTER I WITH =20 DIAERESIS =D6 =3D 326 =3D 214 =3D D6 =3D U+00D6 =3D C3 96 : LATIN CAPITAL = LETTER O WITH =20 DIAERESIS =DC =3D 334 =3D 220 =3D DC =3D U+00DC =3D C3 9C : LATIN CAPITAL = LETTER U WITH =20 DIAERESIS =E4 =3D 344 =3D 228 =3D E4 =3D U+00E4 =3D C3 A4 : LATIN SMALL LETTER = A WITH =20 DIAERESIS =EB =3D 353 =3D 235 =3D EB =3D U+00EB =3D C3 AB : LATIN SMALL LETTER = E WITH =20 DIAERESIS =EF =3D 357 =3D 239 =3D EF =3D U+00EF =3D C3 AF : LATIN SMALL LETTER = I WITH =20 DIAERESIS =F6 =3D 366 =3D 246 =3D F6 =3D U+00F6 =3D C3 B6 : LATIN SMALL LETTER = O WITH =20 DIAERESIS =FC =3D 374 =3D 252 =3D FC =3D U+00FC =3D C3 BC : LATIN SMALL LETTER = U WITH =20 DIAERESIS =FF =3D 377 =3D 255 =3D FF =3D U+00FF =3D C3 BF : LATIN SMALL LETTER = Y WITH =20 DIAERESIS (Although in German only =E4, =F6, =FC, =C4, =D6, and =DC are accepted = as umlauts.) -- Greetings Pete A TRUE Klingon warrior does not comment his code.