From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rainer Stengele Newsgroups: gmane.emacs.help Subject: Re: problems displaying german "umlaute" Date: Fri, 03 Jul 2009 20:04:46 +0200 Message-ID: <4A4E483E.201@online.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1246644364 29194 80.91.229.12 (3 Jul 2009 18:06:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jul 2009 18:06:04 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 03 20:05:57 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 1MMn8z-0004dl-Tj for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2009 20:05:54 +0200 Original-Received: from localhost ([127.0.0.1]:37574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMn8z-0008Hb-6B for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2009 14:05:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMn88-0007xY-I9 for help-gnu-emacs@gnu.org; Fri, 03 Jul 2009 14:05:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMn84-0007vn-5Q for help-gnu-emacs@gnu.org; Fri, 03 Jul 2009 14:05:00 -0400 Original-Received: from [199.232.76.173] (port=51482 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMn83-0007vk-UQ for help-gnu-emacs@gnu.org; Fri, 03 Jul 2009 14:04:55 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:56069 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MMn82-0000Xs-WF for help-gnu-emacs@gnu.org; Fri, 03 Jul 2009 14:04:55 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MMn7z-0001yw-4Y for help-gnu-emacs@gnu.org; Fri, 03 Jul 2009 18:04:51 +0000 Original-Received: from nrbg-4dbe5e6f.pool.einsundeins.de ([77.190.94.111]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Jul 2009 18:04:51 +0000 Original-Received: from rainer.stengele by nrbg-4dbe5e6f.pool.einsundeins.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Jul 2009 18:04:51 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 70 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nrbg-4dbe5e6f.pool.einsundeins.de User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:65765 Archived-At: Rainer Stengele schrieb: > Hi all, > > sorry this is surely a standard problem but I cannot find a fast solution. > > I am using textfiles (actually org-mode text) both on windows emacs 23 > (emacsw32-20090226) and under different linux variants (kubuntu, sidux) > some running emacs 22 and some emacs 23. > > The problem is that the "umlauts" shown in the windows emacs without > problems are shown as code under linux. > > I am using the exact same configuration (versioned by subversion), > .emacs etc. > > So under windows I see: > > Hüpfreduzierspiel rekursiv lösen > > under linux I see: > > H\303\274pfreduzierspiel rekursiv l\366sen > > What can I do? > > Thank you for any hint! > > > Rainer > > > > This is still coming up from time to time. I could not find anything wrong in the "codings", as far as I understand anything of it. In order to proceed I wanted to write a function to replace all the wrong characters. I have this her and it does not work, although doing a "replace-string" is working perefctly in the buffer. "\374" is of course a character, not a string. Can anybody give me a hint please! (defun replace-misthaufen () "replaces im gesamten buffer: \374 => ü \337 => ß \344 => ä \366 => ö" (interactive (beginning-of-buffer) (while (search-forward " " nil t) (replace-match "ü" nil t)) ; (beginning-of-buffer) (while (search-forward " " nil t) (replace-match "ß" nil t)) ; (beginning-of-buffer) (while (search-forward " " nil t) (replace-match "ä" nil t)) ; (beginning-of-buffer) (while (search-forward " " nil t) (replace-match "ö" nil t)) )) Rainer