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: automatically replacing, e.g., , by umlaut? Date: Tue, 21 Apr 2009 21:29:55 +0200 Message-ID: References: <0e7ffbde-8870-47d9-9445-5c9379b850fc@x5g2000yqk.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1240342259 10307 80.91.229.12 (21 Apr 2009 19:30:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2009 19:30:59 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Ulrich Scholz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 21 21:32:18 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 1LwLhX-00046I-EO for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Apr 2009 21:32:15 +0200 Original-Received: from localhost ([127.0.0.1]:45633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwLg8-00049r-EO for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Apr 2009 15:30:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwLfY-00044P-86 for help-gnu-emacs@gnu.org; Tue, 21 Apr 2009 15:30:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwLfS-00042u-WF for help-gnu-emacs@gnu.org; Tue, 21 Apr 2009 15:30:11 -0400 Original-Received: from [199.232.76.173] (port=45728 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwLfS-00042q-Nf for help-gnu-emacs@gnu.org; Tue, 21 Apr 2009 15:30:06 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:49090) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LwLfS-0004Jj-6R for help-gnu-emacs@gnu.org; Tue, 21 Apr 2009 15:30:06 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id 42745FAE170E; Tue, 21 Apr 2009 21:30:03 +0200 (CEST) Original-Received: from [91.35.222.250] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (WEB.DE 4.110 #277) id 1LwLfO-0006Yj-00; Tue, 21 Apr 2009 21:30:02 +0200 In-Reply-To: <0e7ffbde-8870-47d9-9445-5c9379b850fc@x5g2000yqk.googlegroups.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/rrUsPaZ8tV4/RSKXoTqfVsCCvUo2aASxDFBsl bVr4l6k8SrkghtxT7BrnGmSKUaoRnxE56CqKy9cXyNAiEgd/x1 nAnvJBoho/PKxa3W0VMw== 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:63930 Archived-At: Am 21.04.2009 um 10:45 schrieb Ulrich Scholz: > Hi, I often have the problem that when I copy and past some text from > the console into Emacs, the umlauts are shown as sequence of > characters or \317 (number may be wrong). What about switching all utilities and the windowing system to the =20 same encoding? With GNU Emacs 22.x or 23 UTF-8 is the right choice. =20 LANG or LC_ALL or LC_CTYPE would be something like de_DE.UTF-8 and =20 the fonts are best ISO 10646 encoded ... The actual cause could be that the X server tells GNU Emacs that the =20 X selection is of type UTF-8 =96 and it's not! It's probably ISO =20 8859-1, so =DF is encoded as one single byte with value 0xDF or \317. =20= And since GNU Emacs gets told "the data is rather binary UTF-8" it =20 does not need to convert it and inserts each byte unchanged. The easier solution: make your console UTF-8 encoded. -- Mit friedvollen Gr=FC=DFen Pete Irgendwer sollte den Kugelschreiber mit einem Kleiderb=FCgel kreuzen, =20= dass die Kulis sich vermehren, statt stets nur zu verschwinden!