all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Charset problem
Date: Thu, 13 Sep 2007 10:10:34 +0300	[thread overview]
Message-ID: <ubqc7oxat.fsf@gnu.org> (raw)
In-Reply-To: <fc9rbd$6og$1@online.de> (message from Christian Schröder on Thu, 13 Sep 2007 01:05:19 +0200)

> From: =?ISO-8859-1?Q?Christian_Schr=F6der?= <chschroe@math.uni-goettingen.de>
> Date: Thu, 13 Sep 2007 01:05:19 +0200
> 
> My problem is as follows: I log into my SuSE 10.2 linux server from my 
> Windows box using PuTTY. I then use GNU Emacs (in text mode) to edit 
> files on the linux box.

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.

> I have some old files which are encoded in ISO-8859-1. When I open these 
> files in Emacs the german umlauts are displayed as question marks.

Go to one of those question marks and type "C-u C-x =".  Then tell
here what Emacs has to say about those characters.

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?

> 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?

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.

> 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.

> 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.

  reply	other threads:[~2007-09-13  7:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-12 23:05 Charset problem Christian Schröder
2007-09-13  7:10 ` Eli Zaretskii [this message]
     [not found] ` <mailman.791.1189668733.18990.help-gnu-emacs@gnu.org>
2007-09-13 21:50   ` Christian Schröder
2007-09-14  7:46     ` Eli Zaretskii
2007-09-14  8:58     ` Peter Dyballa
     [not found]     ` <mailman.846.1189756022.18990.help-gnu-emacs@gnu.org>
2007-09-14 12:41       ` Christian Schröder
2007-09-14 13:58         ` Eli Zaretskii
     [not found]         ` <mailman.869.1189778341.18990.help-gnu-emacs@gnu.org>
2007-09-14 15:06           ` Christian Schröder
2007-09-14 16:00             ` Eli Zaretskii
     [not found]             ` <mailman.875.1189785660.18990.help-gnu-emacs@gnu.org>
2007-09-15 15:03               ` Christian Schröder
2007-09-15 15:59                 ` Peter Dyballa
2007-09-15 18:07                 ` Eli Zaretskii
     [not found]                 ` <mailman.902.1189871990.18990.help-gnu-emacs@gnu.org>
2007-09-17 11:11                   ` Christian Schröder
2007-09-17 12:33                     ` Peter Dyballa
2007-09-15  3:43         ` Tim X
2007-09-16  0:21         ` Giorgos Keramidas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ubqc7oxat.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.