all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Charset problem
@ 2007-09-12 23:05 Christian Schröder
  2007-09-13  7:10 ` Eli Zaretskii
       [not found] ` <mailman.791.1189668733.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 16+ messages in thread
From: Christian Schröder @ 2007-09-12 23:05 UTC (permalink / raw)
  To: help-gnu-emacs

Hi newgroup!
I have a question regarding character encoding which might be an Emacs 
problem or maybe a PuTTY problem or even a general linux problem. If you 
think my problem is not Emacs related, please let me know.
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.
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. I 
have tried to set PuTTY's translation to both UTF-8 and ISO-8859-1, but 
this doesn't change anything. When I set PuTTY's translation to 
ISO-8859-1 and *type* an umlaut, I see this umlaut only if it is 
lower-case, but it is followed by a blank. When I save the file and look 
at it using a hex editor the caracter is encoded in UTF-8. When I type 
an upper-case umlaut I see a question mark in Emacs and the hex editor 
shows a 0xC3 byte. When I set PuTTY's translation to UTF-8 and type an 
umlaut, I see a question mark, then some graphical character and a 
blank. In the hex editor I see a 3-byte sequence.
PuTTY seems to send an ISO-8859-1 encoded character when I set the 
translation to ISO-8859-1. At least it does in raw mode -- I have 
verified this using a network packet sniffer; unfortunately, I cannot 
look inside the SSH packets during the regular communication with the 
server.
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?

Thanks for any help!

Regards,
	Christian

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-09-17 12:33 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-12 23:05 Charset problem Christian Schröder
2007-09-13  7:10 ` Eli Zaretskii
     [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

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.