From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Christian_Schr=F6der?= Newsgroups: gmane.emacs.help Subject: Re: Charset problem Date: Thu, 13 Sep 2007 23:50:52 +0200 Organization: 1&1 Internet AG Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189723240 2670 80.91.229.12 (13 Sep 2007 22:40:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2007 22:40:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 14 00:40:37 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 1IVxMQ-0001LK-2N for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2007 00:40:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVxMP-0008Dk-Ln for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Sep 2007 18:40:33 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news.germany.com!news.belwue.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 98 Original-NNTP-Posting-Host: p5b03b3ac.dip0.t-ipconnect.de Original-X-Trace: online.de 1189720249 2570 91.3.179.172 (13 Sep 2007 21:50:49 GMT) Original-X-Complaints-To: abuse@einsundeins.com Original-NNTP-Posting-Date: Thu, 13 Sep 2007 21:50:49 +0000 (UTC) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:152059 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:47568 Archived-At: Eli Zaretskii wrote: > You haven't supplied enough information about your systems to > intelligently guess what might be your problem. One piece of info > that is missing is the locales of your SuSE server and of your Windows > box. Sorry! These are the locale settings on my server: LANG=posix LC_CTYPE="posix" LC_NUMERIC="posix" LC_TIME="posix" LC_COLLATE="posix" LC_MONETARY="posix" LC_MESSAGES="posix" LC_PAPER="posix" LC_NAME="posix" LC_ADDRESS="posix" LC_TELEPHONE="posix" LC_MEASUREMENT="posix" LC_IDENTIFICATION="posix" LC_ALL= Do you need anything else from the linux box? I'm not sure how to find out the locale of my Windows box, but it's a German windows version, if that is of any help. > Go to one of those question marks and type "C-u C-x =". Then tell > here what Emacs has to say about those characters. One example: character: ? (0374, 252, 0xfc) charset: eight-bit-graphic (8-bit graphic char (0xA0..0xFF)) code point: 252 syntax: whitespace category: buffer code: 0xFC file code: 0xFC (encoded by coding system raw-text-unix) terminal code: not encodable This is what I expected because the character is a german "u-umlaut". > Also, what does Emacs show in the left edge of the mode line. There's > a character there that says what Emacs thinks about the encoding of > the file, and what encoding it uses for displaying characters on the > terminal (see the user manual, node "Mode Line", for explanations > about these). What do you see there when you visit the ISO-8859-1 > encoded files? -:---F1 join.php 11:33PM 0.19 (PHP Abbrev)--L10--C30--Top----------- So it seems to be "no code conversion". I tried to change the coding system for keyboard and/or terminal, but it did not change anything. It seems as if I still don't understand what's happening. :( >> I have tried to set PuTTY's translation to both UTF-8 and ISO-8859-1 > > Are you talking about the Window->Translation page in the PuTTY's > session configuration dialog? Exactly! > Did you click the "Save" button on the "Session" page, after changing > those settings, and then restarted the session? If not, the new > settings might not be in effect. I changed the current session's settings and I think that the settings actually came into effect because the behaviour changed. Unfortunately, I was not able to get it to behave the way I want it ... >> PuTTY seems to send an ISO-8859-1 encoded character when I set the >> translation to ISO-8859-1. > > The "translation" setting is not for sending, it's for receiving: it > tells PuTTY what font to use when it gets characters with the 8th bit > set. Yes, I have read this in the manual, but I have also found some references where it says that the same encoding is used for sending. If not, what does PuTTY send if I type some german characters on my keyboard? Can I somehow influence what it sends? >> So which way do my characters take before they get into the file? How >> many translation steps are done, and by whom? Are there any Emacs >> variables that must be set? > > Before answering these questions, we need to know the information > about your locales. It's hard to help you before that, except by wild > guessing. Sorry for giving too little information and many thanks for your help! Regards, Christian