From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hadron Newsgroups: gmane.emacs.help Subject: Re: Using babel Date: Wed, 22 Aug 2007 16:31:30 +0200 Organization: http://en.wikipedia.org/wiki/Quark Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1187797230 18714 80.91.229.12 (22 Aug 2007 15:40:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2007 15:40:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 22 17:40:29 2007 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 1INsJk-0007bg-Ol for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2007 17:40:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INsJk-0007F6-Bv for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2007 11:40:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-X-Trace: individual.net iV75+xLXTCrvdbHIYwjOGQmp+snd1kYfOfKKlfHMntwFLu+146 X-Orig-Path: news.individual.net!news Cancel-Lock: sha1:ayOmbpFJ3Xg52xWo4Dpi5BCUzaI= sha1:lNzzTAI4X+PubiIe3Qau+fG15QQ= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUPDQ1bVEeWcSHosxDD ojimpJ76+vnczqjhNce/AAAACXBIWXMAAABIAAAASABGyWs+AAAB6UlEQVQ4y22UvW4TQRDHf7P2 paG4vSTuDwMlQgJRUfiIEC22gqnT2G/AcySU4AJTX4EfgMI8AMISdRTTEpRdu/MHWYq9r/g8zWr3 d/+Z2ZnZU8PCBv1+uRkqcnOjNB3ZYlsAGQEu1TWwBhB3UQOhXzY1MAZwOL0LcpvXQAQSwbQGhl15 PyiVBQg+CX8+d7E1hUPbv3sUL5Jf7cXBtA6mzZDl4z2K5CeAxu2/h2VbD251dEQQ6t0Yz5wT3dvY i7vALQ5Pj56GzaKMOdgcMMcgGmerQMZvXBQBZzCpghU6T4u1roCxeCAt4EMJNjBHQG5/a1iVwNDS OHASdr2/IqskW6WFD+/BJMhbzVLA5cAhZWVC2OZgSyGApKIwnO0WGQXIpOg0EJe1Wlc95YPls1pQ MwXQ1vruaexBI7r/pTj7MQMBFBJdIasiuo6hMQPF5TcLcf5iBAtPLCi5Ami6cw9urWo/QED5VF28 8c4OtWjNVhfV1dn838wR4Dsqe0KNoAtA6i++nSnJbnoCwD2bpZeof1k61xbk+jyrjlRGNE3Tj1+z xjRPrJIw+8gZA7g50OxYlDx/6YwFS9SLelHkENOxoDDLR6cuNOZdv9Vv9bvW3DzMp8QtXmnz2jsM EoK47AfHg+yXwfHbDgD/AWsIohF8qgD0AAAAGnpUWHRKUEVHLUNvbG9yc3BhY2UAAHjaMwIAADMA MxEWfmMAAAAqelRYdEpQRUctU2FtcGxpbmctZmFjdG9ycwAAeNozqjDSMaww1DGsMAQAEYMC6QbE yigAAAAASUVORK5CYII= User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:151175 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:46748 Archived-At: Peter Dyballa writes: > Am 22.08.2007 um 15:18 schrieb Hadron: > >> So why is the text returned from Babel full of escaped characters? >> >> e.g >> >> Der schnelle braune Fuchs sprang \303\274ber die Br\303\274cke. > > The buffer isn't in UTF-8 encoded? > > ; oct dec hex UCS2 UTF-8 > ;===================================== > ü = 374 = 252 = FC = U+00FC = C3 BC : LATIN SMALL LETTER U WITH > DIAERESIS > > Octal 303 is hex C3, octal 274 is hex BC. Both are no regular > characters in your buffer's encoding, so they're presented in octal > and so "Der schnelle braune Fuchs sprang \303\274ber die Br\303 > \274cke." is the sentence "Der schnelle braune Fuchs sprang über die > Brücke." presented to you as UTF-8 encoded inside a non-UTF-8 encoded > buffer. > > Tell babel to not return UTF-8 or change your buffer's encoding. But I can type ü,ä,ö in the same buffer and they appear as they ought to. What do you suggest to "encode" the buffer? -- Part of language design is purturbing the proposed feature in various directions to see how it might generalize in the future. -- Larry Wall in <199709032332.QAA21669@wall.org>